Welcome Guest, Not a member yet? Register   Sign In
file_exists() function is not working in CI Helper
#3

[eluser]Sumon[/eluser]
thanks. i highly appreciate your suggestions. still i am confused about why file_exists() function does not work where the image is in proper location. Moreover, is try by fopen() for an image function is good practice? i am confused.

Once again here is a function i test in my controller
Code:
function ImageLoc()
{
   if(file_exists(base_url()."/gallery/member_picture/member_no_image.gif"))
        echo "File Exist.";
   else
    echo "File Not Exist.";
}
I get the result File Not Exist. But the fact is file is in there.


Messages In This Thread
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 12:59 AM
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 04:40 AM
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 05:27 AM
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 05:32 AM
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 05:37 AM
file_exists() function is not working in CI Helper - by El Forum - 05-15-2008, 06:42 PM
file_exists() function is not working in CI Helper - by El Forum - 05-16-2008, 12:36 AM
file_exists() function is not working in CI Helper - by El Forum - 05-16-2008, 12:44 AM
file_exists() function is not working in CI Helper - by El Forum - 05-16-2008, 01:51 AM
file_exists() function is not working in CI Helper - by El Forum - 05-16-2008, 05:57 AM
file_exists() function is not working in CI Helper - by El Forum - 05-16-2008, 06:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB