Bug #15832 Updated: error when using the copy function

From: Date: Sat, 02 Mar 2002 18:53:23 +0000
Subject: Bug #15832 Updated: error when using the copy function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1498@lists.php.net to get a copy of this message
ID: 15832 Updated by: sander@php.net Reported By: picklezz@hotmail.com -Status: Open +Status: Feedback Bug Type: Unknown/Other Function Operating System: Windows PHP Version: 4.1.1 New Comment: What do you mean, forget the dest? If you call copy("file"); it will complain. Previous Comments: ------------------------------------------------------------------------ [2002-03-02 10:53:57] picklezz@hotmail.com When I use the "copy ( string source, string dest)" function in PHP 4.1.1 and Apache 2.0.28 for uploading files to a dir and forget to set the "string dest" the file will bo copied to the root dir of my harddrive. I have set the php.ini to have this lines. doc_root = "C:\Program Files\Apache Group\Apache2\htdocs" user_dir = "C:\Program Files\Apache Group\Apache2\htdocs" ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15832&edit=1

« previous php.bugs (#1498) next »