Welcome Guest, Not a member yet? Register   Sign In
[RESOLVED] Cannot upload file on the real server.
#1

[eluser]madeks[/eluser]
Well I'm not sure is it about the server or not.
On my local test it work fine which is Windows NT 5.1, Apache 2.0 and PHP 5.1.4.
When I upload it to an online server which is Windows NT 5.2, CGI/FastCGI and PHP 5.2.3.

After investigated in the upload class.
It seems like function copy and move_uploaded_file are not work with no reason.

I've checked the destination path and permission their are correct whether it already check in the upload class.

I already spend 2 hrs to find out but still got nothing.

Is there anything I have to check or any source I can study?

Thanks in advance.


PS, the file I test to upload is already in the temp folder and $_FILES contain the correct value.

Quote:This problem is from the permission error.
When I tried remove @ out of the copy function then it complain on the permission stuff.

sorry for this stupid post. Tongue




Theme © iAndrew 2016 - Forum software by © MyBB