Bug #55081 [Opn->Bgs]: Warning: rename(/test2/conn.php,/test2/conn2.php) [function.rename]: No such fi

From: Date: Thu, 30 Jun 2011 07:16:12 +0000
Subject: Bug #55081 [Opn->Bgs]: Warning: rename(/test2/conn.php,/test2/conn2.php) [function.rename]: No such fi
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11393@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=55081&edit=1 ID: 55081 Updated by: fa@php.net Reported by: shuklaraje81 at yahoo dot com Summary: Warning: rename(/test2/conn.php,/test2/conn2.php) [function.rename]: No such fi -Status: Open +Status: Bogus Type: Bug Package: Website problem Operating System: windows-xp PHP Version: 5.2.17 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. If you're on windows you shouldn't use rename("/test2/conn.php", "/test2/conn2.php"); but probably rename("c:\\wamp\\www\\Rekha\\conn.php", "c:\\wamp\\www\\Rekha\\conn2.php"); Previous Comments: ------------------------------------------------------------------------ [2011-06-30 02:02:36] shuklaraje81 at yahoo dot com Description: ------------ --- From manual page: http://www.php.net/function.rename%23Examples --- <?php if($_POST) { rename("/test2/conn.php", "/test2/conn2.php"); } ?> <form name="frm0" action="" method="post"> name<input type="text" name="txtname" value="" /> <input type="submit" value="submit" name="submit" /> </form> Expected result: ---------------- ihave a file in the test folder i wnt to copy this file in the test1 folder with different name my script name is try that is lay in the test2 folder all these three folder a lay in the C:\wamp\www\Rekha path please sir give the answer what code error ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=55081&edit=1

« previous php.webmaster (#11393) next »