Jump to content


New Members
  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

phpDevNeeded's Achievements


Newbie (1/5)



  1. Hi there, Due to how our web servers are set up, my include file path has to be different on the live server vs the dev server. On live, it is: <?php include('/blah/blah/blah/my_file.php'); ?> On dev, it is: <?php include('/blah/my_file.php'); ?> Is it possible to set up a conditional include in PHP? i.e. On dev display one path, but on live display another path for the same file? Thanks
  • 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.