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
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
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(destination
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
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 that copy()
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']
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 like that:
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
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, e-mail: [EMAIL
10 matches
Mail list logo