php help
Out of context: Reply #3
- Started
- Last post
- 7 Responses
- meph5040
what OS is your server ?
also I often find it easier to use the
`cp $path/$file $newpath/file`but that is on *nix based boxs
some other things to check
-file permissions the program maybe able to see the file but not copy it
may want to chmod("0777") then change permissions back after move-make sure you aren't out of space alot time if the server is out of space then when it working with files during a move it will copy them to a buffer and then reallocate the old space to the system then try to allocate space in the new location. if there is no space, it will just dump the buffer.
-lastly make sure there isn't a copy in the new directory on some systems instead of over writing the file it will cause an error.
if you need more help with this let me know