Need Help Please

Discussion in 'PHP' started by stlhomei, Jul 8, 2010.

  1. #1
    Please see code below. You can view the page by going here.

    http://173.236.29.66/~stlhomei/articles/residential-inspections.php

    I'm setting up my new site with greengeeks.com. Servers and folder permissions are fine. It's my coding.

    Problem: I can view residential-inspections.php just fine on the root server. I'm having a CSS and image problem when I try to access the same file inside a subfolder. My subfolder is called articles. Do I have something wrong? Please see link I provide up above. Here is the actual code listed below. The files I'm trying to call are on the root server. My CSS file and image file is also located on the root server. Both are in subfolders on the root. For example css/file.css and img/images.jpg.


    <?php include("../includes/home-inspector-header.php"); ?>
    <?php include("../includes/home-inspector-sidebar.php"); ?>




    <!-- Begin Body -->
    <div id="rightcolumn">



    <center><br><h1>Home Inspector Serving St. Louis, Ballwin, Chesterfield, St. Charles, Florissant, Town and Country and all surrounding areas</h1><br><a href="http://www.stlhomeinspector.com/billy/maps/areas-served.php">View Entire Map</a><br><br><br> </center>


    <b><h2><center>Residential Home Inspections</h2></center></b><br><br>



    <center><h5>

    <b>

    <img src="img/home.jpg" alt="Home Inspection Report" border="0" /><br>


    <br><br><br><br></center></b>


    <p>

    Home inspection reports are vital



    <br><br><br>




    <b>Ready to book? Use the form below or call (314) 805-2137</b><br>
    <b>Email Address:</b> <a href="mailto:billy.boerner@gmail.com">Billy.Boerner@gmail.com</a><br>
    <b>I process all major credit cards securely via Paypal.com:</b> <img src="img/creditcards.png" alt="We accept all major credit cards" border="0" />
    <br><br>

    </h5>

    <form action="FormToEmail.php" method="post">
    <table border="0" style="background:#ffffff" cellspacing="5">
    <tr align="left"><td>Name</td><td><input type="text" size="30" name="name"></td></tr>
    <tr align="left"><td>Email address</td><td><input type="text" size="30" name="email"></td></tr>
    <tr align="left"><td>Phone Number</td><td><input type="text" size="30" name="phone"></td></tr>
    <tr align="left"><td valign="top">Comments</td><td><textarea name="comments" rows="5" cols="50"></textarea></td></tr>
    <tr align="left"><td>&nbsp;</td><td><input type="submit" value="Contact Inspector"><font face="arial" size="1">&nbsp;&nbsp;</font></td></tr>
    </table>
    </form><br><br>
    <p style="text-align: right;"><a href="#top">Back to top</a></p>


    </p><br><br>



    </div></center>
    <!-- End Body-->






    <?php include("../includes/home-inspector-footer.php"); ?>
     
    stlhomei, Jul 8, 2010 IP
  2. Snell

    Snell Member

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    38
    #2
    Replace

    <?php include("../includes/home-inspector-header.php"); ?>
    <?php include("../includes/home-inspector-sidebar.php"); ?>
    
    <?php include("../includes/home-inspector-footer.php"); ?> 
    PHP:

    by

    
    <?php include("../../includes/home-inspector-header.php"); ?>
    <?php include("../../includes/home-inspector-sidebar.php"); ?>
    
    <?php include("../../includes/home-inspector-footer.php"); ?> 
    PHP:
     
    Snell, Jul 9, 2010 IP