Personal Loans | The Latest Gadgets | Mobile Phones | Mobile Phones | Mortgage Calculator
Symbolic link [Archive] - PCMech Forums

PDA

View Full Version : Symbolic link


qwaz
05-06-2002, 07:22 PM
How do I make a symbolic link such as:

http://markmartin.racing-forums.com

That will remain the above URL as opposed to resolving to the URL I have in my actual code which is:

if ($HTTP_HOST == "markmartin.racing-forums.com") { header ("Location: http://www.racing-forums.com/bbs/index.php?styleid=56"); }

homer15
05-06-2002, 07:25 PM
use (a href="whatever.com" target="_blank") whatever it's called.com(/a)
and replace the ()'s with <>'s

qwaz
05-06-2002, 07:27 PM
huh?

I have a symlink called "markmartin" that is pointing to public_html/bbs/index.php

That code that I pasted above is from the index.php file to provide a different stlye page depending on the URL used to navigate into the site.

I'm asking how do I make a symlink that will keep the URL the person used as opposed to reverting to the URL in the php.