Hi all,
I have a script to built thumbnails for some images.
It's working great, but when the file name for the original picture contains a single quote, it skips that picture.
I use this:
imagejpeg($result, "thumb/".$title.".jpg", 100) or die("Cant save image");
$title is the picture name, received direct from a database.
So a picture named "Dani PHP.jpg" will go fine, but a picture named "Dani's PHP.jpg" will not.