Hi,
I am using fasttemplate class, and am trying to use if(isset($PATH_INFO)) method to pass variables.
ex www.mysite.com/index.phtml/foo1/foo2/foo3
Fasttemplate is working fine here:
www.mysite.com
or here
www.mysite.com/index.phtml
if(isset($PATH_INFO)) is working fine also.
The problem...
Images in fasttemplate template pages arent working when more directory levels appear because they are getting parsed at this higer level. Right now the images path is like this:
<img src="../images/image.jpg"> and there is a lot of templates.
I have tried changing the path to this:
<img src="/images/image.jpg"> and this never works
This works at one level:
<img src="images/image.jpg"> but not at any other levels.
Is there a way i can modify fasttemplates to interpret "../" as an absolute path variable ("http://www.mysite.com/") or is there a way to modify .htaccess to set "/images/image.jpg" to look here "http://www.mysite.com"??
Am i making sense?
Thanks for your help.
Ryan