0
How to add an space in website where users can upload files
2 Respuestas
+ 2
The space would be on your host, create a folder and change permissions to allow read write but i suggest not to allow users to execute. Do this through control panel of your host site, using file manager would be easiest.
Then you will need 2 php files
The form (see http://php.net/manual/en/features.file-upload.post-method.php)
And the action php file to replace the __url__ in the form script
Your action.php file should use the uploaded information, in the $_files array to write the information to your directory.
This method allows you to avoid using javascript.
0
thanx