Re: [PHP] Problem with copy() function

2007-01-05 Thread Richard Lynch
On Fri, January 5, 2007 5:01 pm, R B wrote: > I'm trying to copy a file like this: > > copy("home/xxx/public_html/yyy/zzz/index.php", > "home/xxx/public_html/yyy/www/index.php") > > and have this error: > > *Warning*: Wrong parameter count for copy() in */home/.* > > Someone can help me please?

Re: [PHP] Problem with copy() function

2007-01-05 Thread Jochem Maas
R B wrote: > Hi, > > I'm trying to copy a file like this: > > copy("home/xxx/public_html/yyy/zzz/index.php", > "home/xxx/public_html/yyy/www/index.php") ^ -- your missing a slash (although that shouldn't be the problem) > > and have this error: > > *Warning*: Wrong parameter count for copy()

[PHP] Problem with copy() function

2007-01-05 Thread R B
Hi, I'm trying to copy a file like this: copy("home/xxx/public_html/yyy/zzz/index.php", "home/xxx/public_html/yyy/www/index.php") and have this error: *Warning*: Wrong parameter count for copy() in */home/.* Someone can help me please? Thanks,