Re: Need help for $unlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

When I am using code which u have posted here 
<?php
$sql="select * from model_photos where m_id='$m_id'";
$result=@mysql_query($sql);
$rows=@mysql_num_rows( $result);
$all_result=@mysql_fetch_array($result) ;

$f1=$all_result['image'];
unlink("../uploads/". $f1);
?>

I am getting this error...
Warning: unlink(../uploads/) [function.unlink]: Permission denied in C:

may u help in this, where i am wrong, i m working on localhost.


Thanks,
Avi



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux