+ Reply to Thread
Results 1 to 4 of 4

Thread: PHP issues with IE (internet explorer)

  1. #1
    mbtforum is offline x10Hosting Member mbtforum is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    7

    Post PHP issues with IE (internet explorer)

    So I've been coding my website using something like this for my website's coding:


    <? include("/home/mbtadmin/public_html/head.php"); ?>

    text here blah

    <? include("/home/mbtadmin/public_html/foot.php"); ?>


    Here's my page with coding: http://www.melonberrytea.exofire.net/head.php

    And here's my index page: http://www.melonberrytea.exofire.net/index.php

    Now this works fine in Firefox, but doesn't show up at all in Internet explorer. Is there something I'm missing or doing wrong? Or is there another way to make this work on IE.

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: PHP issues with IE (internet explorer)

    The page also doesn't show in Safari 4, which means it probably won't show in Chrome. The problem isn't the include statements but the fact that you're missing the <body>, </body> and </html> tags. Also, don't use short tags; enter PHP mode with "<?php", not "<?".

    Lastly, <style> elements can only be children of <head>. Right now, you've got a <style> that comes after <head>.
    Last edited by misson; 02-06-2010 at 03:58 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    mbtforum is offline x10Hosting Member mbtforum is an unknown quantity at this point
    Join Date
    Jul 2009
    Posts
    7

    Re: PHP issues with IE (internet explorer)

    Quote Originally Posted by misson View Post
    The page also doesn't show in Safari 4, which means it probably won't show in Chrome. The problem isn't the include statements but the fact that you're missing the <body>, </body> and </html> tags. Also, don't use short tags; enter PHP mode with "<?php", not "<?".

    Lastly, <style> elements can only be children of <head>. Right now, you've got a <style> that comes after <head>.

    I understand your first statement but what do you mean by <style> elements can only be children of <head> ?
    Edit:
    i figured it out

    thank you (:
    Edit:
    i figured it out

    thank you (:
    Last edited by mbtforum; 02-06-2010 at 06:22 PM. Reason: Automerged Doublepost

  4. #4
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: PHP issues with IE (internet explorer)

    While you're at it, run your pages through W3C's HTML validator. You're pages have some other problems that need addressing.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

+ Reply to Thread

Similar Threads

  1. Is Safari better then all other browsers?
    By javajenius in forum Crossfire
    Replies: 70
    Last Post: 06-22-2009, 10:30 AM
  2. Replies: 9
    Last Post: 02-22-2009, 02:20 PM
  3. Repair Internet Explorer 6.0
    By agroup in forum Tutorials
    Replies: 0
    Last Post: 11-24-2008, 09:53 PM
  4. PHP and new accounts
    By idani in forum Free Hosting
    Replies: 1
    Last Post: 09-21-2008, 01:49 PM
  5. Sigo con problemas con phpbb2
    By reciecho in forum Soporte
    Replies: 7
    Last Post: 10-20-2007, 06:28 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers