Welcome Guest, Not a member yet? Register   Sign In
error to get the image file informatino with getimagesize() PHP function...
#1

[eluser]OneCorea[/eluser]
Hi,
To get the image file info, which has already uploaded by the browser, using the PHP original getimagesize() functions..

I've got errors as follows...

Code:
getimagesize(): URL file-access is disabled in the server configuration

getimagesize(http://www.abctest.or.kr/board/upfile/forum/1187255975/case1.jpg):
failed to open stream: no suitable wrapper could be found


Of course, the permisssion of uploaded directory was set recursively 777 for the nobody user to access it.
So I can see the image file by the URL, and outside CI can get the image file info using the getimagesize() function...
But, within CI, there's error like above...

what's wrong???...dear gurus!!
#2

[eluser]OneCorea[/eluser]
hey..u..
this error due to the php.ini configuration..

allow_url_fopen = OFF ;;URL file access setting
#3

[eluser]Unknown[/eluser]
hello,

my allow_url_foden is set ON...

its no good for CodeIgniter?

Thanks

Fernando
Spain




Theme © iAndrew 2016 - Forum software by © MyBB