The default file upload path is the Temporary directory of your system.

But the problem that I percieve in your case is that when PHP uploads the
file, it gives it a temporary file name ( such as /tmp/shsgtW ). if you are
loooking to store the files in an intelligent manner, I would suggest that
you do not change the file upload path. Let php copy the file where it does
by default. Once the file has been uploaded, copy it to the directory you
want the files to reside in . This way you can also specify a legible name
for the file.

Look in the Uploading files section of the PHP manual and for a good article
on uploadingfiles at phpbuilder.com

hope that helps

regards

Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India


> ----- Original Message -----
> From: "Dhaval Desai" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, February 07, 2001 2:12 PM
> Subject: [PHP] PHP File Uplaod Path
>
>
> > Hi!
> >
> > I need help with uploading files with php.
> > What is the default directory where the files are
> > uploaded..?
> > I want to specify a particular directory where the
> > files have to come after they are uploaded.
> >
> > Is it possible to specify a path in the script where
> > the files will automatically be copied after uploading
> > to the temporary directory.
> >
> > Please help me out ...
> >
> > Thank You
> > Dhaval Desai
> >
> >
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Auctions - Buy the things you want at great prices.
> > http://auctions.yahoo.com/
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to