how do i use php to upload a file to my server
lookup the function: COPY
handling file uploads
it would also be a good idea to search for a script that uploads files on google and study the script which would help you understand alot more then just getting the functions