Re: Using variable to another script

2003-02-06 Thread Randal L. Schwartz
> "James" == James Kipp <[EMAIL PROTECTED]> writes: James> or use a hidden param in a form: James> print qq( James> http://yourhost/another.cgi";> James> James> James> James> ); No, no, no. You aren't encoding it properly. THere's already stuff in CGI.pm to do this for you properly.

RE: Using variable to another script

2003-02-06 Thread Kipp, James
> $username = param('username'); > $lastname = param('lastname'); > > my question is, how can i use that two variable to another script > open by this command: > > system('sudo', '-u', 'www', '/path/to/anotherscript.pl'); > > Is that possible? You could redirect to another url: print $q->redi

using variable to another script

2003-02-06 Thread Glynn S. Condez
Hi all, I have a question. From a web form, i pass the info to a cgi script. i have this variable on the script: $username = param('username'); $lastname = param('lastname'); my question is, how can i use that two variable to another script open by this command: system('sudo', '-u', 'www', '/

RE: Using variable to another script

2003-02-06 Thread wiggins
On Thu, 6 Feb 2003 13:59:51 +0800, "Glynn S. Condez" <[EMAIL PROTECTED]> wrote: > Hi all, > > I have a question. From a web form, i pass the info to a cgi script. > > i have this variable on the script: > > $username = param('username'); > $las

Using variable to another script

2003-02-05 Thread Glynn S. Condez
Hi all, I have a question. From a web form, i pass the info to a cgi script. i have this variable on the script: $username = param('username'); $lastname = param('lastname'); my question is, how can i use that two variable to another script open by this command: system('sudo', '-u', 'www', '/