Welcome Guest, Not a member yet? Register   Sign In
access to a function in gdlib
#1

[eluser]hht1230[/eluser]
The following works in a file outside CI:

$im = imagecreatefromjpeg('IMG_4025.jpg');
echo 'width=' . imagesx($im) . ' height=' . imagesy($im);

If I put it in a CI view file, I get

Message: imagecreatefromjpeg() [function.imagecreatefromjpeg]: URL file-access is disabled in the server configuration

What do I need to change / set to access imagecreatefromjpeg from inside CI?

thx,
Helen


Messages In This Thread
access to a function in gdlib - by El Forum - 06-04-2009, 08:45 AM
access to a function in gdlib - by El Forum - 06-04-2009, 09:01 AM
access to a function in gdlib - by El Forum - 06-04-2009, 10:54 AM
access to a function in gdlib - by El Forum - 06-04-2009, 03:39 PM
access to a function in gdlib - by El Forum - 06-05-2009, 10:39 AM
access to a function in gdlib - by El Forum - 06-05-2009, 12:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB