...

View Full Version : copy function



dizyn
11-18-2007, 10:12 AM
Hi

Please see:

copy("tmp_file.txt","home/my_file.txt");

This is the error i am getting:

Warning: copy(tmp_file.txt) [function.copy]: failed to open stream: No such file or directory in C:\wamp\www\youtube\popular.php on line 2

any help

shaileshpatil
11-18-2007, 10:33 AM
Try giving full path of source file.
Use file_exists() command to ensure file exists.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum