Re: Loading results (via ajax) from a CGI

2009-11-27 Thread Alexander Krasnorutsky
siteupsoftware.com/cgi-bin/install_verify.cgi?value='+int_value; >var myurl = 'http://www.hunlock.com/examples/notajax.html'; >ajax_this.open("GET", myurl, true); >ajax_this.send(null); >} Is the `onreadystatechange' handler called when readyState == 3? -- Alexander Krasnorutsky. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Data Conversion ?

2009-11-07 Thread Alexander Krasnorutsky
On Fri, 2009-11-06 at 17:21 -0500, Nathan Gibbs wrote: > How would I get the length of a string as returned by length () into > > a 4 byte unsigned integer in network byte order > > Thanks > > -- > But there's no sense crying over every mistake. > You just keep on trying till you run out of ca

Re: Storing a file from a cgi parameter

2009-06-19 Thread Alexander Krasnorutsky
binmode hFILE; > while (read($file_file,$str_buffer,1024)) >{ print hFILE $str_buffer; } > close (hFILE); You can try use the "$cgi_this->upload" method to retrieve the filehandle. There is a standard module named "File::Temp&quo