hi guys i've this problem with a page having

copy()

to copy a file from a website
well it works on apche and winxp
but when i put on the server (running win2000 and IIS)the page does not load i
anyone hav an idea wht the heck is the problem

Recommended Answers

All 4 Replies

Check the permissions; if you have the read permissions on the source file and write permissions on the destination directory.

no man i tried to give it all the permissions (full control) but it still not working

From: http://us2.php.net/copy

Note: Windows compatibility: If you copy a file with no size, copy() will return FALSE, but the file will be correctly copied.

Why are u using Move function to upload the file?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.