Re: weird problem. Lost of the POST data (SOLUTION)

2002-02-07 Thread Jason Czerak
On Mon, 2002-02-04 at 11:12, Oscar Serrano wrote: Hi: some days ago I wrote to ask for this problem: The CGI.pm (sometimes) could not receive the POST data. I tried all you recomended me here in the list. But I still had the problem. Finally I decide to kick out CGI.pm and start to use the

Re: weird problem. Lost of the POST data

2002-02-04 Thread Oscar Serrano
Hi: some days ago I wrote to ask for this problem: The CGI.pm (sometimes) could not receive the POST data. I tried all you recomended me here in the list. But I still had the problem. Finally I decide to kick out CGI.pm and start to use the old cgi-lib.pl. But I still had the same problem. Then I

Re: weird problem. Lost of the POST data

2002-02-04 Thread Brett W. McCoy
On Mon, 4 Feb 2002, Oscar Serrano wrote: some days ago I wrote to ask for this problem: The CGI.pm (sometimes) could not receive the POST data. I tried all you recomended me here in the list. But I still had the problem. Finally I decide to kick out CGI.pm and start to use the old

Re: weird problem. Lost of the POST data

2002-02-04 Thread simran
I had similar problems not too long ago. The reason i believe is - 'You can only read POST data from STDIN _once_'. Aka, in a mod_perl script if you do something like: my $q1 = new CGI; my $q2 = new CGI; my $name1 = $q1-param(name); my $name2 = $q2-param(name); $name2 will not be set if the

Re: weird problem. Lost of the POST data

2002-01-16 Thread Robert Landrum
At 3:11 PM +0100 1/16/02, Oscar Serrano wrote: Here I put the beggining of the file: #!/usr/bin/perl -w use CGI; use strict; use varcomunes; #library of my own use lib $LIBRERIAS_AT; use EnlacesAT; #library of my own use Idioma; #library of my own use DBI; use OrdenesComunes; #library of my own

RE: weird problem. Lost of the POST data

2002-01-16 Thread Oscar Serrano
-Mensaje original- De: Ged Haywood [mailto:[EMAIL PROTECTED]] Enviado el: miercoles, 16 de enero de 2002 23:30 Para: Oscar Serrano CC: [EMAIL PROTECTED] Asunto: Re: weird problem. Lost of the POST data Thank you Ged for your detailled information. I'm now debugging my scripts

RE: weird problem. Lost of the POST data

2002-01-16 Thread Oscar Serrano
-Mensaje original- De: Perrin Harkins [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 17 de enero de 2002 0:06 Para: [EMAIL PROTECTED]; Oscar Serrano Asunto: Re: weird problem. Lost of the POST data There is something that may give a clue. When I restart apache, it takes some

Re: weird problem. Lost of the POST data

2002-01-16 Thread Perrin Harkins
Ummm yes... you know, I'm using the Template Toolkit. Try using the Perl stash instead of the XS stash, and see if your problem goes away. It seems as if the httpd child executes the processing of the template so fast that CGI.pm has no time to get the POST data. I don't think so. It

RE: weird problem. Lost of the POST data

2002-01-16 Thread Oscar Serrano
-Mensaje original- De: Robert Landrum [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 17 de enero de 2002 0:26 Para: Oscar Serrano; [EMAIL PROTECTED]; [EMAIL PROTECTED] Asunto: Re: weird problem. Lost of the POST data At 3:11 PM +0100 1/16/02, Oscar Serrano wrote: Here I put

RE: weird problem. Lost of the POST data

2002-01-16 Thread Oscar Serrano
-Mensaje original- De: Perrin Harkins [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 17 de enero de 2002 1:01 Para: Oscar Serrano; [EMAIL PROTECTED] Asunto: Re: weird problem. Lost of the POST data Ummm yes... you know, I'm using the Template Toolkit. Try using the Perl stash

Re: weird problem. Lost of the POST data

2002-01-16 Thread Perrin Harkins
Well all my modules are written in Perl. When you say some C code you mean the C code in DBI, or CGI or Template, don't you? Yes. That's why I suggest trying Template with the Perl stash instead of the XS one. - Perrin