Hi all,
As a Perl Newbie I just felt more comfortable processing form variables using the
method I'm most comfortable with
As Jenda pointed out in a previous post that this is not the best method.
> #read STDIN, $PostData, $ENV{'CONTENT_LENGTH'};
>
> #print "post data =$PostData<br>";
>
> #postdata will look like this
> #[EMAIL PROTECTED]&radAction=unsubscribe&rad
> #Format=html&Submit=Submit I need to extract from this string the
> #fields and their values
> my @fields = split( /\&/, $PostData);
>
> ...
Please don't do this. The query/posted data parsing is not as simple
as it seems. You are much safer if you
use CGI;
O'k Im willing to learn are there any instructions on using the use CGI module for
processing form variables. please.
Colin Johnstone
Website Project Officer
Corporate Website Unit
Public Affairs Directorate
NSW Department of Education and Training
AUSTRALIA
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]