Hi everyone, I've been able to write down a script (thanks to all your
hints, and some other things I've found on the Net). Actually my Perl
script works right when I use it alone, loading it in a browser window,
the first time it displays the form, and after the user presses the
Submit button, the input data are displayed in browser's window, without
changing the address, exactly as I wanted the script to work.
My problem now is maybe some off-topic from simple perl script. I want
to use this script in a Php page, it should be only a part of a page,
and as the user presses the submit button in this part, only this part
of the page should show the input data submitted by the user. The
problem is that in the script I've written all the input are sent to the
ENV variable when I use the script alone in the page, but when I use it
inside the Php page, all the input are memorized in $HTTP_GET_VARS or
$HTTP_POST_VARS depending by the method I've used in the form. So
finally this is the problem: how can I mantain input data memorized in
the Perl script, or how can I pass data from Php to Perl?
I've thought to this solutions:
1) Use a file written by Php and read by Perl script;
2) Pass data as argument when calling Perl Script;
3) Set the ENV of the Perl Script before the script is run;
4) Do not reset ENV of Perl script every time it's launched;
Actually I'm able to accomplish in way 1 and 2, but I'd prefer to use
method 3 or better 4. Can someone help me?
Thanks a lot, Paolo

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to