Soldato
How do I make the folder structure in XAMPP perform the same way as my web host? I don't know what the terms are but in XAMPP the URLs are relative to the webpage but normally they're relative to the file.
For example if my 'includes/header.php' has a reference to '/css/style.css' then on my webhost this always works, but in XAMPP it fails for anything but the homepage, with everything else needing a direct reference, ie '../../css/style.css'.
Also can I make it accept just <? rather than <?php?
Thanks!
For example if my 'includes/header.php' has a reference to '/css/style.css' then on my webhost this always works, but in XAMPP it fails for anything but the homepage, with everything else needing a direct reference, ie '../../css/style.css'.
Also can I make it accept just <? rather than <?php?
Thanks!