Topic awaiting preservation: Branding 101 Question |
|
---|---|
Author | Thread |
Nervous Wreck (II) Inmate From: |
posted 12-20-2003 02:15
This should be an easier question than the last. |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 12-20-2003 02:57
I would take a look at the $_SERVER['HTTP_REFERER'] variable in php. It tells you from where the user is coming. The variable can be 'faked' to show a page it didn't come from, but I think it is the easiest way (and only way I can think of) to achive the effect you're looking for. So you just add a simple test in the beginning of the page checking where the user is coming from and depending on the results you get add the header and footer. |
Bipolar (III) Inmate From: Brisbane |
posted 12-20-2003 09:01
You'll also want to setup a session to carry that information from page to page if they only get refered once and you want them to be able to browse within your site and still maintain the correct branding from page to page. |
Nervous Wreck (II) Inmate From: |
posted 12-20-2003 20:09
If anyone is up to it I might be willing to pay for assistance with this project. |