Re: Posting hyperlink value

2004-06-15 Thread David Dorward
(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

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 http://dorward.me.uk/ http

Re: use CGI qw(:standard);

2004-06-11 Thread David Dorward
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

Re: How to execute a Perl script in Linux??? (I havent seen linux)

2004-05-25 Thread David Dorward
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

Re: Data encryption

2004-05-14 Thread David Dorward
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

Re: Data encryption

2004-05-14 Thread David Dorward
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

Re: Post Method

2004-05-14 Thread David Dorward
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

Re: Browsers?

2004-05-14 Thread David Dorward
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

Re: My local

2004-05-14 Thread David Dorward
()? (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

Re: Switch

2004-05-13 Thread David Dorward
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

Re: Escaping quotes in variable content

2004-05-11 Thread David Dorward
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

Re: RegExp Help !

2004-05-10 Thread David Dorward
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

Re: installing DBI on HPUX

2004-05-10 Thread David Dorward
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

Re: getting ' and in and out of form fields

2004-05-04 Thread David Dorward
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

Re: Directory Listing

2004-04-21 Thread David Dorward
. 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

Re: perl book

2004-04-20 Thread David Dorward
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

<    1   2