variables - PHP: Unlink doesn't work in 'deeper' folder -
i tried deleting file folder not work...
i tried changing ' " still not work...
so tried putting exact value, , worked
unlink('uploads/12/33.jpg');
this 1 deletes image gallery folder
unlink('gallery/'.$id.'.'.$ext); unlink('gallery/thumbs/'.$id.'.'.$ext);
this 1 doesn't work.
unlink('uploads/'.$album_id.'/'.$image_id.'.'.$image_ext); unlink('uploads/thumbs/'.$album_id.'/'.$image_id.'.'.$image_ext);
i tried changing dot comma , still didn't work :[
try
echo " unlink('uploads/'.$album_id.'/'.$image_id.'.'.$image_ext); unlink('uploads/thumbs/'.$album_id.'/'.$image_id.'.'.$image_ext); ";
and see if shows correct syntax. maybe you're still having incorrect value or missing slash or something.
please paste results here if doesn't further.
Comments
Post a Comment