imagejpeg()
Posted: 23. August 2009 14:50
- Code: Select all
Warning: imagejpeg() [function.imagejpeg]: Unable to open 'http://localhost/test/1/images/26.jpg' for writing: Invalid argument in C:\xampp\htdocs\test\1\check_image.php on line 91
On this line i have
- Code: Select all
imagejpeg($image, $dir . '/' . $image_id . '.jpg');
where,
- Code: Select all
$dir ='http://localhost/test/1/images';
and $image_id is last sql query .
Why i can't use imagejpeg()? I can't create images in xampp directories(in test/1/images in my example)?How i can change permission on the folder to create images?