n00b question

    Date: 03/22/06 (PHP Community)    Keywords: php, html, web, seo

    Hi everyone,

    I have a PHP question, that I bet is pretty simple, but I only play around with the language to do a few website things.

    Recently, the webserver I am hosted on has upgraded to PHP5 and broken one of the main drivers of my website. I'm hoping you may be able to help.

    Explanation of problem: My website has an "index" table with links. When you click a link, PHP will go out, grab an HTML document, and insert that into a main table also on my index page. This is no longer working since the upgrade.

    My website is at www.erikwilson.net if you are curious. The links I am referring to are in the "Site Stuff" table.

    This all worked perfectly before the upgrade to PHP5.

    See anything that would cause this to fail in PHP5 or how I can fix it?

    ANY help would be much apprecaited.

    =========================================================================

    Example URL I'm trying to use:http://www.erikwilson.net/index.php?page=geocache

    Example Hyperlink that is calling the PHP:< a class="nav" href="index.php?page=geocache" onmouseover = "over_image('img29');" onmouseout = "off_image('img29')"> Geocaching</a>

    Actual PHP driving the page:
    <?php
    if ($page == '')
    {
    $page = "livejournal";
    $l = "?";
    }
    else
    {
    $page = "$page";
    }
    ?>

    Table the HTML will be intserted into:
    < table border="0" cellpadding="8" cellspacing="1" width="100%">
    < tr>
    < td bgcolor="ffffff">
    < ?php include("$page.shtml");?>
    < /td>
    < /tr>
    < /table>

    Source: http://community.livejournal.com/php/429552.html

« Delaying a script || DB_DataObject and OOP »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home