Type: Posts; User: theplanetrider
Search took 0.03 seconds.
i have an upload system that gives an id to the uploaded image ex. 159-1.jpg
When another image is uploaded it continues to count 159-2, -3 and so fort
But when i delete (unlink) an...
Found the problem
$image1 = ($_SERVER['DOCUMENT_ROOT'].'/img/annonce/'.$pathImg.'/'.substr($_GET['id'], 0, 1).'/'.$_GET['id']."-".$_GET['pic'].".jpg");
but the new problem is that my images...
when btn is clicked
i created the link below but he doesnt recognize the .$i.
i have almost finished it removes the file BUT it cant seem to find the picture number.
Like the example below 159-.jpg it should be 159-2.jpg
Thank you Gravy for your quick reply,
ill test this code later today and let you know how it works out.
Hi everyone, its since 2 days i'm stuck with a little problem that i cant seem to find.
I wrote this code to delete an image from the ftp when a link is clicked,
used unlink to remove the file...