Re: Posting hyperlink value

2004-06-15 Thread David Dorward
On 15 Jun 2004, at 14:24, David Dorward wrote: Bad form, following up by own post et al. However: $hostname = escapeHTML($hostname); Should be: $hostname = escapeHTML(escape($hostname)); as the data needs to be url encoded as well as html encoded. -- David Dorward

Re: Posting hyperlink value

2004-06-15 Thread David Dorward
On 15 Jun 2004, at 14:18, Werner Otto wrote: I have a hyperlink defined as: $hostname in a form. http://validator.w3.org/ is your friend. There is no name or value attribute for the anchor element. $hostname = escapeHTML($hostname); print qq(); Then the variable is called "hostname" not "$hostnam

Posting hyperlink value

2004-06-15 Thread Werner Otto
Hi All, mit.cgi file: I have a hyperlink defined as: $hostname in a form. The $hostname values are retrieved from the mysql database in a fetch() loop. My code in host.cgi: #!/usr/bin/perl use CGI qw(:standard); print "Content-type: text/html\n\n"; $posted_hostname = param("$hostname"); Why am I