I Cant Get Php Includes To Work On Godaddy..?
RSS

I Cant Get Php Includes To Work On Godaddy..?

Category: FAQ   Time: 2009-10-13   Tags: , , ,

this is what my code looks like

im not sure if i even uploaded the files in the right place..
i need major help =/

Next: Which Is A Better Web Host, Yahoo Or Godaddy?
Previous: How Cheap Can I Get A Domain Name And Hosting For My Site? And How Would I Do It?
"I Cant Get Php Includes To Work On Godaddy..?" was posted on Tuesday, October 13th, 2009 at 12:39 pm.

2 Responses to “I Cant Get Php Includes To Work On Godaddy..?”
  1. Doug G(2009-10-13):

    ** < ?php include('header.php');?> **
    I see one potential problem here, before your closing ?> make sure there is some space.
    < ?php include('header.php'); ?>
    If you did not upload the files in the right place that would be a problem, meaning header.php should be in the same place as your php file.
    But PHP on godaddy will be good anywhere in htdocs or whatever the public docs root is.

  2. Steve(2009-10-13):

    as long as godaddy support php its not a problem with the hosting.
    try and add a space before the ?>
    Make sure you have header.php in the same folder as the file you are including it with.
    If none of these work try using
    require instead of include or
    require_once

Leave a Reply

 
Recent Posts
Random Posts