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

From: Date: Thu, 30 Jun 2011 06:02:36 +0000
Subject: Bug #55081 [NEW]: Warning: rename(/test2/conn.php,/test2/conn2.php) [function.rename]: No such fi
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-11388@lists.php.net to get a copy of this message
From: Operating system: windows-xp PHP version: 5.2.17 Package: Website problem Bug Type: Bug Bug description:Warning: rename(/test2/conn.php,/test2/conn2.php) [function.rename]: No such fi 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 bug report at https://bugs.php.net/bug.php?id=55081&edit=1 -- Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55081&r=trysnapshot52 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55081&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55081&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=55081&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55081&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=55081&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=55081&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=55081&r=needscript Try newer version: https://bugs.php.net/fix.php?id=55081&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=55081&r=support Expected behavior: https://bugs.php.net/fix.php?id=55081&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=55081&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=55081&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=55081&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55081&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=55081&r=dst IIS Stability: https://bugs.php.net/fix.php?id=55081&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=55081&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=55081&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=55081&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=55081&r=mysqlcfg Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55081&r=trysnapshot54

« previous php.webmaster (#11388) next »