timmah1 Posted December 30, 2006 Share Posted December 30, 2006 why does this work with Firefox [code]<?phpinclude ("/links/links.php");?>[/code]but in internet explorer, i get this error[code]Warning: main(/links/links.php) [function.main]: failed to open stream: No such file or directory in /home/xxxxxx/public_html/index.php on line 61[/code]thanks again for any help Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/ Share on other sites More sharing options...
trq Posted December 30, 2006 Share Posted December 30, 2006 PHP is well and truely done by the time your output gets to the browser. This is not the issue. Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149663 Share on other sites More sharing options...
timmah1 Posted December 30, 2006 Author Share Posted December 30, 2006 I'm sorry, meaning what? Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149664 Share on other sites More sharing options...
trq Posted December 30, 2006 Share Posted December 30, 2006 Meening that php runs on the server and doesnt even know what a browser is. Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149667 Share on other sites More sharing options...
timmah1 Posted December 30, 2006 Author Share Posted December 30, 2006 I understand that part, but why do i get there error in Internet Explorer, but it works perfectly in Firefox.Internet Explorer says the file doesn't exist, but Firefox knows it's there.Look here to see what I meanhttp://www.stagingtree.com Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149671 Share on other sites More sharing options...
Kairu Posted December 30, 2006 Share Posted December 30, 2006 He is saying it has nothing to do with what browser you use. That is a PHP error, not a browser error. There is no way Internet Explorer is causing the error. Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149672 Share on other sites More sharing options...
trq Posted December 30, 2006 Share Posted December 30, 2006 Sorry, but that makes no sense. It has to be a coincedence somehow.Sorry I dont use windows so dont have IE. Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149673 Share on other sites More sharing options...
timmah1 Posted December 30, 2006 Author Share Posted December 30, 2006 My include file is typed correctly isn't it?[code]<?include ("/link/links.php");?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149675 Share on other sites More sharing options...
trq Posted December 30, 2006 Share Posted December 30, 2006 Yep, well close enough for php not to care.[code=php:0]<?phpinclude "/link/links.php";?>[/code] Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149677 Share on other sites More sharing options...
timmah1 Posted December 30, 2006 Author Share Posted December 30, 2006 Makes no sense to meEvery other site that I have done, I have used the exact same include, but on this one, it don't show correctly.oh well, I'll figure it out somehowthanks for the help, [b]AGAIN[/b] Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149679 Share on other sites More sharing options...
kenrbnsn Posted December 30, 2006 Share Posted December 30, 2006 I took a look at the URL on both FF and IE and did not see the error. What I did see was the IE is not formatting your layout correctly. I took the generated HTML and tried to validate it at http://validator.w3.org/ and got a slew of errors. Fix your HTML problems and then fix your PHP problems.Ken Quote Link to comment https://forums.phpfreaks.com/topic/32251-firefox-vs-internet-explorer/#findComment-149705 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.