Quote:
Originally Posted by Anub1s
i was looking for something like This =D
Thanks a lot =D
i had this problem:
Warning: copy(avatar1.gif): failed to open stream: Permission denied in /home/lifestre/public_html/foro/http_upload.php on line 311
avatar1.gif could not be uploaded!
also will be cool than when the file was sucessfully uploaded, you can see the exactly url =D
and, there is a way than the files can be saved in /upload directory instead the root?
|
Hi Anubis,
as already mentioned before, i do not emulate a file manager. Please use other methods for this or just copy the files into the /upload folder.
URL ? How can a file and dir based PHP file know your URL ? No way unless you implement it somewhere manually. This hack just knows your server paths and that's it. Sorry, no way for the URL.
Regarding your problem:
chmod 777 /upload
should solve your problem.
Cheers,