copy() function issues

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

copy() function issues

Post by fugix »

Hey guys,
Im trying to copy an xml file to another directory and im getting this error


copy(/music.xml): failed to open stream: No such file or directory in /var/www/test.php on line 6


now i know that the destination file doesnt exist because i want the copy() function to create it. any thoughts?
fugix
Forum Contributor
Posts: 207
Joined: Fri Mar 18, 2011 8:01 pm

Re: copy() function issues

Post by fugix »

scratch that guys i found the solution immediately after posting this...figures
Post Reply