passing url variables to another page using perl

Problems with the Windows version of XAMPP, questions, comments, and anything related.

passing url variables to another page using perl

Postby rgkx » 13. April 2007 19:12

hi guys ,

What should I know in order to pass url variables to another page ?

I'm usign perl and mysql .

In php you have to modidy register global on .....

but in perl ?? ...

Thanks in advance

Richard
rgkx
 
Posts: 1
Joined: 13. April 2007 19:06

Postby Codesmith » 13. April 2007 20:25

Registering globals is just a lazy shortcut, its turned off by default and only exists as an option for compatibility with old code.

The correct way to access form data in PHP is to check the system $_GET or $_POST arrays.

It works the same with PERL except you need to check
$ENV{'REQUEST_METHOD'} and $ENV{'QUERY_STRING'}.

I forget how to use POST with PERL, but you can use GET by adding the data to the end of the url.
Codesmith
 
Posts: 101
Joined: 31. March 2007 21:11


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 191 guests