11-28-2010, 03:14 PM
|
#1 (permalink)
|
|
The Wanderer
Join Date: Oct 2010
Posts: 9
Thanks: 2
|
rename problem
hi friend in php why cant rename file across drive
like this
suppose :
PHP Code:
$c="";
$d="";
$re=rename($c,$d);
if($re)
{echo "Success";}
else{
echo "Failed";}
Now if i put
$c="F:\/1.jpg";
ANd
$d="F:\/2.jpg";
it show me success
But if i Change Drive then Not work
like
$c="F:\/1.jpg";
ANd
$d="E:\/2.jpg";
then Failedd
So Hope some will Solve my problem or give me a good Solution... 
|
|
|
|