Re: problem on file upload

From: Date: Fri, 29 Dec 2000 08:37:06 +0000
Subject: Re: problem on file upload
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-32206@lists.php.net to get a copy of this message
At 12:24 28/12/00 -0800, mike wrote:
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
If the directory you want to create does not exists, try mkdir function to create it.
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
---------------------------------------------------------------- Le simple fait de passer par la fenetre ne suffit pas a la transformer en porte.

« previous php.general (#32206) next »