Forum Moderators: coopster
* If I need to display those files as links in my webpage,I can use either <img src> tag or <a href> tag.But I will have to have those files in HTML directory to do that.Is there a way to do this by putting those uploaded files above HTML DIRECOTORY ? may be another option to display them in webpages ?
* How do I chmod to uploaded files automatically using php script?
* How do I change name of uploaded files using php script ?
thank you in adv
They either have to be accessible by the public or you need a script that reads the content of the file above the root directory into a document with the correct headers.
>> How do I chmod to uploaded files automatically using php script?
Use chmod [php.net]() once the file is moved to its final destination.
>> How do I change name of uploaded files using php script ?
When you upload the file with move_uploaded_file [php.net](), you need to change the destination string to the name and path that you want the file.