obay Posted September 25, 2007 Share Posted September 25, 2007 i have an exif_imagetype() it works ok, i.e. returns correct value. but it produces a warning stream does not support seeking what does this mean? i've search and can't find help Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Try this @exif_imagetype() Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 i have. but im afraid i might be skipping something important by skipping the warning... Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Are you including any file in your code by using the include() ? Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 i have a require() but the required file does not output HTML, only php codes Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Give the relative path in the require() and check. It will work. Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 why? what happened? what is that warning for? Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 ??? Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 thanks!!! Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Did that work ? Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 oops. i thought it did. but it doesn't,.. sort of. it got rid of the warning but some weird stuff happens, im still trying to figure out whats happening Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 it's weird.. in page1.php i have require (init.php); which checks if user is logged in, if not, redirects to index.php. when i used absolute path for the require(), page1.php now displays index.php, with the rest of page1.php below it... Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 could this be a exif_imagetype() bug or something? i've google and found getimagesize() also returns the same error message when working with remote files (yes, i am working with remote files) and it was reported as a bug, and fixed Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 anyway, i just used @exif_imagetype() thanks! Quote Link to comment Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 :Dhaha tat was my first reply to your topic right !! Quote Link to comment Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 yes, i figured that since it's just a warning, im just going to use @ Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.