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 Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/ Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Try this @exif_imagetype() Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354699 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... Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354700 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() ? Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354702 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 Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354705 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. Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354707 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? Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354712 Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 ??? Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354713 Share on other sites More sharing options...
obay Posted September 25, 2007 Author Share Posted September 25, 2007 thanks!!! Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354714 Share on other sites More sharing options...
d.shankar Posted September 25, 2007 Share Posted September 25, 2007 Did that work ? Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354715 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 Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354720 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... Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354725 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 Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354729 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! Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354749 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 !! Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354752 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 @ Link to comment https://forums.phpfreaks.com/topic/70586-solved-exif_imagetype-warning/#findComment-354807 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.