I have a little script I use to resize and watermark my images. After doing that it is suppose to save files to a certain folder and add image path to database. It adds the correct image path and name to database but it doesn't save my image to the server. $filename1 = "images/games/$id/".$image_name; imagejpeg($image1,$filename1,100); PHP: the image script is located in this DIR root dir mod panel image manager I want my files saved to root dir images games game id Any help would be greatful
The folder is writeable. If I have the script in the root dir it works fine just when I move it to a sub directory it doesnt want to save the image. I'm not sure where to put the code to see if it is throwing out any errors