Re: Unpredictable Effects after Upload...
On Wed, 31 Oct 2001, Jonathan M. Hollin wrote: Date: Wed, 31 Oct 2001 12:34:40 - From: Jonathan M. Hollin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Unpredictable Effects after Upload... Hello all, Platform: Windows 2000, Apache, mod_perl Problem: When submitting forms that include files (uploads) my script becomes very unpredictable - CGI.pm doesn't seem to be able to recognise any data that's passed as part of the query string (it does still process form input though) once a file has been uploaded. Submit the same form but without attaching a file and everything works perfectly. There is nothing in the error logs to indicate what the problem might by (I'm using the -w flag). Can anyone offer any insight into what might me going on here? Jonathan M. Hollin - WYPUG Co-ordinator West Yorkshire Perl User Group http://wypug.pm.org/ Jonathan, Please try using Apache::Request instead of CGI.pm. Furthermore, look into Apache::Upload. I'll bet these modules will fix your problems. `perldoc` those modules (install them if you have to) and also read The Guide (tm) for more information: http://perl.apache.org/guide/ ky
Re: Unpredictable Effects after Upload...
I dunno - I recently fixed a problem with the upload_hook that was making a similar problem... Tell me: is there anything weird in the error_log right after the upload? Perhaps the file is not being parsed properly... Issac Internet is a wonderful mechanism for making a fool of yourself in front of a very large audience. --Anonymous Moving the mouse won't get you into trouble... Clicking it might. --Anonymous PGP Key 0xE0FA561B - Fingerprint: 7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B - Original Message - From: Jonathan M. Hollin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, October 31, 2001 14:34 Subject: Unpredictable Effects after Upload... Hello all, Platform: Windows 2000, Apache, mod_perl Problem: When submitting forms that include files (uploads) my script becomes very unpredictable - CGI.pm doesn't seem to be able to recognise any data that's passed as part of the query string (it does still process form input though) once a file has been uploaded. Submit the same form but without attaching a file and everything works perfectly. There is nothing in the error logs to indicate what the problem might by (I'm using the -w flag). Can anyone offer any insight into what might me going on here? Jonathan M. Hollin - WYPUG Co-ordinator West Yorkshire Perl User Group http://wypug.pm.org/