know about uploading file in php

wxdqz

New Member
Thank you sir for your explanation for how to upload a file from client pc to server pc but i written this code but it is not working , acording my thinking if i running this code


if (!copy
($fname, \"your_path/upload/filename.ext\")) echo(\"Cannot upload file.\");

in server side it search $fname file in current directory of server not from client pc because finaly code is running on server side.

so please if any solution please explain me sir

again thank you sir.
 
Back
Top