RE: [PHP] problem on file upload

From: Date: Thu, 28 Dec 2000 22:44:02 +0000
Subject: RE: [PHP] problem on file upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32170@lists.php.net to get a copy of this message
Why do you double the "/"? only back slashes "\" must be doubled, not forward slashes... -----Original Message----- From: mike [mailto:mike263263@yahoo.com] Sent: Thursday, December 28, 2000 15:24 To: php-general@lists.php.net Subject: [PHP] problem on file upload Hi, I can upload files from local machine to the unix server under the current directory, but at the same time I want to create a new folder under the current directory and save the file into that folder. I just change the fopen($userfile_name[$i], "w" ) to fopen("upload//".$userfile_name[$i], "w" ). This does not work and I checked the file and directiory permission. But still I don't know why this does not work. Could anybody help me? Thank you very much. Mike __________________________________________________ Do You Yahoo!? Yahoo! Photos - Share your holiday photos online! http://photos.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#32170) next »