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,

Re: [PHP] Problem with copy (maybe a bug ?)

2003-03-07 Thread Arthur Chereau
On Fri, 2003-03-07 at 22:36, Marek Kilimajer wrote: > Is the safe mode on? No, it's off. I need it to be off to get the username/password from http authentication. > Arthur Chereau wrote: > > >Hi, > > > >I use PHP 4.3.1 with apache 2.0.44 and php.ini from php.ini-recommended. > > > >It seems tha

Re: [PHP] Problem with copy (maybe a bug ?)

2003-03-07 Thread Marek Kilimajer
Is the safe mode on? Arthur Chereau wrote: Hi, I use PHP 4.3.1 with apache 2.0.44 and php.ini from php.ini-recommended. It seems that copy() doesn't work. Permissions are correct, apache can read the source file and write to the destination directory. But I get the following error message when

[PHP] Problem with copy (maybe a bug ?)

2003-03-07 Thread Arthur Chereau
Hi, I use PHP 4.3.1 with apache 2.0.44 and php.ini from php.ini-recommended. It seems that copy() doesn't work. Permissions are correct, apache can read the source file and write to the destination directory. But I get the following error message when I use copy: Warning: copy() [function.copy]

Re: [PHP] problem with copy()

2003-01-28 Thread Maxim Maletsky
you need to escape the windows backslash: $file = "c:\pic.jpg"; should be $file = "c:\\pic.jpg"; or $file = "c:/pic.jpg"; which will work the same -- Maxim Maletsky [EMAIL PROTECTED] "Bartosz Matosiuk" <[EMAIL PROTECTED]> wrote... : > hi > > can the string source in copy () looks

[PHP] problem with copy()

2003-01-28 Thread Bartosz Matosiuk
hi can the string source in copy () looks like that: "c:\pic.jpg". If not than how should it look like. I'm not sure becouse script gives me "Unable to open c:\pic.jpg for reading: No such file or directory" but the file is there. and when i'm using $HTTP_POST_FILES['file']['tmp_name

RE: [PHP] problem with copy($file,path) to up load a file

2001-11-03 Thread Jack Dempsey
1:39 AM To: [EMAIL PROTECTED] Subject: [PHP] problem with copy($file,path) to up load a file When i use function copy($file,$path)to uplode a file , the error message shows that :permision denied! what's wrong ,Who can help me!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] problem with copy($file,path) to up load a file

2001-11-03 Thread banyWilson
When i use function copy($file,$path)to uplode a file , the error message shows that :permision denied! what's wrong ,Who can help me!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the