I've redesigned a site, and at the moment the redesign is sitting in a sub folder waiting to go live.
Some of the include files are linked
<?php include("./includes/header.html"); ?>
and some are
<?php include("includes/header.html"); ?>
the includes folder is in the sub folder and both types seem to work fine, but I'm worried that once the pages are moved from the sub folder to the root directory, that the difference may cause problems.
Can anyone tell me what the difference is?
----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..
Some of the include files are linked
<?php include("./includes/header.html"); ?>
and some are
<?php include("includes/header.html"); ?>
the includes folder is in the sub folder and both types seem to work fine, but I'm worried that once the pages are moved from the sub folder to the root directory, that the difference may cause problems.
Can anyone tell me what the difference is?
----------------------------------------
Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..