Re: [PHP] problem on file upload From: Jean-Arthur Silve (jeanarthur <email protected>)
Date: 12/29/00

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 <email protected>
>For additional commands, e-mail: php-general-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>

----------------------------------------------------------------
Le simple fait de passer par la fenetre ne suffit pas a la transformer en porte.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>