Jump to content

bcmiller

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

bcmiller's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi all, I have made a couple of sites using this code; [code]                     <?                     $ext = ".php";                     $pg = "".$pg."".$ext."";                     if (file_exists($pg))                     {                     include($pg);                     } else {                     include("error.php");                     }                     ?> [/code] The $pg is part of the URI (eg; example.php?pg=myblog ) I just changed to a new host, and now the page will only show 'error.php' not 'myblog.php'. I tried to echo $pg, and the result was just ".php". Is this a server problem, or is it my problem? TIA
×
×
  • 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.