firefox dont support base href?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tkarven
Forum Commoner
Posts: 41
Joined: Tue Aug 02, 2005 10:26 pm

firefox dont support base href?

Post by tkarven »

hi,

i got a page, e.g. http://www.dev.com/folder1/folder2/page.php

and trying to pass some variable to this page, in order to make the url search engine friendly, i make use of explode and path_info , to make it looks like this

http://www.dev.com/folder1/folder2/page/variable

to avoid the browser from recognize variable as current folder which will mess up all my path thingys where i use relative path all the ways, i used base href...

everything is working fine in IE, but not firefox. Firefox not supporting base href ?

any other solution / suggestion to my scenario will be much appreciated.

thx in advance
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Not sure what you're getting at but FF does support base paths ( /path/page)...

mod_rewrite for apache is certainly what you should be using to acheive this structured URL effect ;)
User avatar
CoderGoblin
DevNet Resident
Posts: 1425
Joined: Tue Mar 16, 2004 10:03 am
Location: Aachen, Germany

Post by CoderGoblin »

Article and description for other may be found in Alistapart

I have not tested this however so I do not know if it works.
Post Reply