(a href=host.cgi?hostname=$hostname);
Then the variable is called hostname not $hostname.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org
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
http://dorward.me.uk/
http
button, so you need to have the form
handler act in a sane way if $query-param('button_name') isn't set.
Where can I find documentation on all the attributes of the components
http://www.w3.org/TR/html4/index/elements.html
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk
simple
But I dont know what is the command to execute the above script.
perl /home/myusername/public_html/cgi-bin/rating/rank.pl
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
tried to use it without client side
scripting enabled, so it also a bad idea.
I can't think why you would want to hide this information; the user
has, presumably, typed it into a search form and thus already knows it!
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk
On 14 May 2004, at 09:45, Alexander Blüm wrote:
On Fri, 14 May 2004 09:25:27 +0100
David Dorward [EMAIL PROTECTED] wrote:
On 14 May 2004, at 08:33, Werner wrote:
I've got a form that makes use of the GET method to provide the cgi
script with details. My problem is that you can see all
module. Its robust and
handles POST and GET easily.
perldoc CGI
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
in popular browsers.
http://www.allmyfaqs.com/faq.pl?AnySizeDesign
And this doesn't really have much to do with CGI does it?
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http
()?
(You might have to scroll down a bit to find it though)
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
On 13 May 2004, at 10:29, Werner Otto wrote:
Is there some kind of a swtich statement in perl?
Yes and no. See:
perldoc -q switch
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
the string at that point.
I tried to escape the quotes in a Perl way
$frage_text =~ s//\\/g;
In HTML characters are 'escaped' by converting them to entities.
entityName; Quote marks are quot;
You probably want to use escapeHTML() from the CGI module.
--
David Dorward
http://dorward.me.uk
location you want to load it
into.
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
dependancies for you)
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
with this?
You probably want escapeHTML.
use strict;
use warnings;
use CGI;
my $cgi = CGI-new;
my $val = qq(Hello, said Paul);
my $escVal = $cgi-escapeHTML($val);
print qq(input type=text name=val value=$escVal);
--
David Dorward http://blog.dorward.me.uk/ http://dorward.me.uk
.
Take a look at File::Find (to recurse directories) and open (to open a
handle you can print to to write to a file)..
perldoc File::Find
perldoc open
--
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
On 20 Apr 2004, at 12:10, Prem Vilas Fortran M. Rara wrote:
--- Gabriel Striewe [EMAIL PROTECTED] wrote:
*Programming Perl by Larry Wall (the author of
Perl himself), Tom
Christiansen and Jon Orwant
any online version?
http://safari.oreilly.com/, which also has Learning Perl.
--
David Dorward
101 - 116 of 116 matches
Mail list logo