Im struggling with relative urls for a file in a 2nd level sub directory, basically i have url.com/sub1/sub2/file.php
How can i call the files for file.php?
Im using these urls at the moment which works in DW design view but not on localhost in the browser
Code:
<link href="../../style/main_stylesheet.css" rel="stylesheet" type="text/css" />
<?php include('../../includes/scripts.php'); ?>
The include files are located url.com/includes/header.php etc
I am using
Code:
<base href="http://localhost/site />
in the head
Well and truly confused because it works for files in the first sub folder using ../includes