relative url and path_info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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 trying to use 
 relative url from http://localhost/collection/popups.php/models/bttf/car01/* 
 witch is incorrect, but the browser gets a 200 (ok) message from the server

my images/javascripst/etc is relative to http://localhost/collection/* ;
but my requirement dictate relative url only because I may move the folder  
later to a new location

what are my options?

 ---
tom_a_sparks "It's a nerdy thing I like to do"


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux