Access the answers to your technology questions today.
Subscribe Now
30-day free trial. Register in 60 seconds.
What Makes Experts Exchange Unique?
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.
Try it out and discover for yourself.
Subscribe Now
30-day free trial. Register in 60 seconds.
Join the Community
Give a Little. Get a Lot.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Join the Community
by: designersxPosted on 2009-09-11 at 05:57:55ID: 25308874
i want to rename the folder name. i am using rename function. there is some path problem coming.
dmin\3.php means i am using this code in this path.
caffolding \gallery\ path.
'].'himcab leways/sca ffolding/g allery/'.$ b; eways/scaf folding/ga llery/test ,test12) [function.rename]: File exists in C:\wamp\www\himcableways\a dmin\3.php on line 4
currently i am in the folder c:\wamp\www\himcableways\a
my folder which i want to rename is in c:\wamp\www\himcableways\s
let's say there is a folder name test in gallery,fine and now i run the code
<?php
$b='test'; //older folder name
$a=$_SERVER['DOCUMENT_ROOT
rename($a,test12); //test12 is the new fodler name.
//rename(oldname, newname);
?>
it says rename(C:/wamp/www/himcabl