[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(destination file) [function.copy]: failed to create
stream: Success in script.php on line l

Is this a bug ? How can I investigate it ?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



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 I use copy:

Warning: copy(destination file) [function.copy]: failed to create
stream: Success in script.php on line l
Is this a bug ? How can I investigate it ?



 



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


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 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 file) [function.copy]: failed to create
 stream: Success in script.php on line l
 
 Is this a bug ? How can I investigate it ?
 
 
 
   
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php