Jump to content

cubofsin

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

cubofsin's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Since I upgraded, I cannot get the following string to work properly: <?php $a = $DOCUMENT_ROOT; if(!$page) $page = "home.shtml"; elseif(!file_exists($page)) include("missing.html"); else include($a/$page); ?> Everything displays perfectly, except the page with the else condition. Any ideas what I may be missing, what I can do? For now, every page loads as my missing page (i.e. generalized page saying this page doesn't exist). I'm at a complete loss here, even after looking at php site's informations/faqs.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.