Hello guys,
here is the situation. I build websites but.. I am terrible with the php language and im not following the tutorials out there on this topic.
i need to make a very simple, plain white html page with has a html form to upload files to a specific folder on my servers public directory using php.
the folder is called "uploads" and is located in my main public directory on server which is called: public_html
my server is unix based and supports all php.
this is what i need it to do:
no file limit size at all. ( i will be uploading some larger zip files, so i cant have a limit )
1: It must deny allowing any upload of a php file or an exe file. any other formats are fine.
2: it must place the file permanently in the folder called "uploads". the reason i say permanent, i read in the tutorials that it will get placed in a temporary location and then get moved? i just want the file to be uploaded to the folder, plain and simple.
can anyone help me out and paste the html form script and the php script here ? plus of course tell me what to name the php file, permission setting, and things i have to replace on the code you post ( if any )?
Id really appreciate it.
thanks.