Jump to content

Platypus

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Platypus

  1. I tried including a PHP file from a different directory...

     

    <?php include("../news.php");?>

     

    Normal PHP includes work, however I cant get it to work if the file im trying to include is in a diff directory. Its in /forums/

     

    Warning: include(../news.php) [function.include]: failed to open stream: No such file or directory in /home/user/public_html/index.php on line 150

     

    Warning: include() [function.include]: Failed opening '../news.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/user/public_html/index.php on line 150

     

    In need of assistance.

×
×
  • Create New...