On 30-09-2012 14:21, Tom Sparks wrote:
I have created a php script that use $_SERVER['PATH_INFO'], for the different
sub-sections
the links now looks like this
http://localhost/collection/popups.php/models/bttf/car01/
my web browser cant load my images/javascripts/etc because it is
I'm using this on Apache. You need to include 'inc/globals.php' in your
script.
inc/globals.php
?
require_once('functions.php');
define('RELPATH', GetRelativePath());
?
inc/functions.php
function GetRelativePath() {
$RELPATH = str_replace(UpDirectory(__FILE__), '',
2 matches
Mail list logo