1:08pm, Werner wrote: > Hi There, > > I've got a html page that uses the following: > > <form action="people.cgi" METHOD="GET" name="form1" > enctype="multipart/form-data"> > > and would like to change the "GET" method to the "POST" method. > > my current people.cgi looks like: > > $temp=$ENV{'QUERY_STRING'}; > #read(STDIN,$temp,$ENV{'CONTENT_LENGTH'}); > @pairs=split(/&/,$temp); > > foreach $item(@pairs) > { > ($key,$content)=split (/=/,$item,2); > $content=~tr/+/ /; > $content=~ s/%(..)/pack("c",hex($1))/ge; > $fields{$key}=$content; > } > > what changes to I have to make to implement my variables using the "POST" > method. > > <form action="people.cgi" METHOD="GET" name="form1" becomes > <form action="people.cgi" METHOD="POST" name="form1"
As Marcel Gag-me would say, "Simple, non?" ------------------------------------------------------------------------ The Bible is not my Book and Christianity is not my religion. I could never give assent to the long complicated statements of Christian dogma. ---------------------- Abraham Lincoln---------------------------------- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>