uploading files - PHP3 vs. PHP4

From: Date: Tue, 15 Aug 2000 15:02:12 +0000
Subject: uploading files - PHP3 vs. PHP4
Groups: php.general 
Request: Send a blank email to php-general+get-11821@lists.php.net to get a copy of this message
Hi, I'm running php3 and php4 concurrently (all .php3 files parsed by php 3.0.16 and all .php files parsed by php 4.0.1pl2). I had a .php3 script that uploaded files, and it worked just fine, until I changed it to a .php file (i.e. the file is the same except for the fact that it's now being parsed by php 4) The problem is that once the form is submitted, it's not recognizing $userfile (when i'm using <input name="userfile" type="file">). Since $userfile is blank, I conclude that the upload was not successful. It's also not a file size issue. upload_tmp_dir is set to the same value in both php3.ini and php.ini If anyone has experienced this same problem or any ideas of what to try, they'd be very much appreciated! Sarah -- Sarah Kerr Bellanet International Secretariat http://www.bellanet.org 613-236-6163 ext. 2192

« previous php.general (#11821) next »