09-20-2005
Quote:
Originally Posted by marcpascual
print "Content-type: text/html\n\n";
print "<base href=\"https://www.i.ph/signup_check.php\">";
print $content;
And, what are you trying to do with these code, as the <base> exists outside the following content (probably a complete HTML document)?
Quote:
my first problem is "agreement" above is a checkbox, im not sure how to deal with it but i did what is obvious, boolean (ofcourse im wrong, the code isnt working).
This is not a Web development forum. You can find lots of examples about HTML at places like
http://www.htmlhelp.com and
http://www.w3schools.com. But to ensure the checkbox will always submit a sensible value, I will always include a "value" attribute to the <INPUT type="checkbox">. Of course, there is no single standard to send the value of the checkbox control. What is more important is that the POST form you submit matches the way the form is parsed at the server side (probably PHP in your case). Your PHP may not need the value if it just checks whether the "agreement" parameter exists (i.e. isset($_POST['agreement'])) without regard to its value, or it may actually expect some value as second validation. Likewise I can't tell without seeing how your server is going to process this.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am completely new to perl and am just going over the tutorials right now. What I am trying to attempt is to take the input from the HTML (in a form) and use those variables in a perl script. I've looked everywhere for a simple example on how to do this and cannot find it or do not understand... (5 Replies)
Discussion started by: douknownam
5 Replies
2. Shell Programming and Scripting
i have a HTML report file..its in attachment(a part of the whole report is attached..name "input html.doc").also its source is attached in "report source code.txt"
i just want to seperate the datas like in first line it should be..
NHTEST-3848498958-NHTEST-10.2-no-baloo a
and so on for whole... (3 Replies)
Discussion started by: avik1983
3 Replies
3. Shell Programming and Scripting
I have a perl script that prints up the html code and executes a few korn scripts to populate the web code.
Disclaimer === I can throw together some korn scripts pretty quick. This code changes pretty frequently. I don't know enough about perl to do everything I need. One day maybe I'll get... (4 Replies)
Discussion started by: i9300
4 Replies
4. Shell Programming and Scripting
Hi All,
I have a requirement of converting an html form into pdf using perl.
The html form contains images, tables and css implementation. I tried using various perl modules but failed to achive the target.
I succeeded in generating a pdf from the html file using... (2 Replies)
Discussion started by: DILEEP410
2 Replies
5. Shell Programming and Scripting
Hi,
I have to insert html frames in for loop.
Here is the code.
for($k=0;$k<3;$k++)
{
print<<HTML;
<html>
<head>
<title>
HTML Horizontal Frames
</title>
</head>
<frameset cols="25%,75%">
<frame src="a.html">
<frame src="b.html">
</frameset> (0 Replies)
Discussion started by: vanitham
0 Replies
6. Shell Programming and Scripting
Hello all
I have a string like
" Have Fun for the rest of the day !. I will meet you tomorrow!"
! is the HTML Equivalent of ! symbol.
From the above string, i would like to remove only the HTML encoded special characters.
Output should be like
" Have Fun for the rest of the day... (4 Replies)
Discussion started by: vasuarjula
4 Replies
7. Shell Programming and Scripting
My webpage is hosted from perlscript(homepage.pl), i want to add piece of html code in the footer of the homepage. I simply pasted the html code at the end of the perl script as below...
========================================================
close(OUTSQL);
... (4 Replies)
Discussion started by: paventhan
4 Replies
8. UNIX for Dummies Questions & Answers
I'm writing a perl script that writes an html file.
use Tie::File;
my ($dir) = @ARGV;
open (HTML,">","$dir/file.html") || die $!;
#-----Building HTML file---------------------------
print HTML "<!DOCTYPE html>
<html>
<head>
<title>Output</title>
<link... (3 Replies)
Discussion started by: jrymer
3 Replies
9. Shell Programming and Scripting
Hello
I want to replace the path to which a hyperlink points to. I have a html file
<TABLE BORDER CELLPADDING=7, border=0><TR><td>Jun-10-2013_03_19_07_AM</td><td>Ank_Insert_1</td><td><b>FAILED: 1</b></td><td><A
... (14 Replies)
Discussion started by: ankurk
14 Replies
LEARN ABOUT DEBIAN
munin::master::htmlold
Munin::Master::HTMLOld(3pm) User Contributed Perl Documentation Munin::Master::HTMLOld(3pm)
NAME
munin-html - A program to draw html-pages on an Munin installation
SYNOPSIS
munin-html [options]
OPTIONS
--service <service>
Compatibility. No effect.
--host <host>
Compatibility. No effect.
--nofork
Compatibility. No effect.
--config <file>
Use <file> as configuration file. [/etc/munin/munin.conf]
--help
View help message.
--[no]debug
If set, view debug messages. [--nodebug]
DESCRIPTION
Munin-html is a part of the package Munin, which is used in combination with Munin's node. Munin is a group of programs to gather data
from Munin's nodes, graph them, create html-pages, and optionally warn Nagios about any off-limit values.
Munin-html creates the html pages.
FILES
@@CONFDIR@@/munin.conf
@@DBDIR@@/datafile
@@LOGDIR@@/munin-html
@@HTMLDIR@@/*
@@STATEDIR@@/*
VERSION
This is munin-html version @@VERSION@@
AUTHORS
Knut Haugen, Audun Ytterdal and Jimmy Olsen.
BUGS
munin-html does, as of now, not check the syntax of the configuration file.
Please report other bugs in the bug tracker at http://munin-monitoring.org/ <http://munin-monitoring.org/>.
COPYRIGHT
Copyright (C) 2002-2009 Knut Haugen, Audun Ytterdal, and Jimmy Olsen / Linpro AS.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program is released under the GNU General Public License
SEE ALSO
For information on configuration options, please refer to the man page for munin.conf.
perl v5.14.2 2013-11-12 Munin::Master::HTMLOld(3pm)