Welcome Guest, Not a member yet? Register   Sign In
image manipulation library
#3

[eluser]pickupman[/eluser]
Why not use the upload class to handle the upload? There is also a function to sanitize the filename for security purposes.
Try using the full file path to the image.
Code:
$config['source_image'] = $_SERVER['DOCUMENT_ROOT'] . 'uploads/img/'.$img);

Or something similar based on your path.


Messages In This Thread
image manipulation library - by El Forum - 10-09-2010, 04:50 AM
image manipulation library - by El Forum - 10-09-2010, 05:23 AM
image manipulation library - by El Forum - 10-09-2010, 06:16 AM
image manipulation library - by El Forum - 10-09-2010, 06:30 AM
image manipulation library - by El Forum - 10-09-2010, 10:03 AM
image manipulation library - by El Forum - 10-09-2010, 06:30 PM
image manipulation library - by El Forum - 10-09-2010, 06:35 PM
image manipulation library - by El Forum - 10-09-2010, 07:14 PM
image manipulation library - by El Forum - 10-09-2010, 07:21 PM
image manipulation library - by El Forum - 10-09-2010, 07:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB