This is a discussion on Problem with copy() function within the PHP General forums, part of the PHP Programming Forums category; Hi, I'm trying to copy a file like this: copy("home/xxx/public_html/yyy/zzz/index.php", &...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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, |
|
|||
|
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() in */home/.....* is that your actual code you posted?? > > Someone can help me please? > > Thanks, > |
|
|||
|
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? You are probably missing a quote in your real code... -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So? |