Jorophose
10-08-2007, 03:24 PM
Title pretty much explains it; I've got a series of pages uses the "page.php?p=" thingy, and I need a way to figure out how to get it to show a different title for each page (Prefferably set in each page, not like "if such and such page, this title"). I've tried setting "if" statements for the <title> element, but it doesn't work.
And another thing... Is it possible to achieve like a frame effect with php, where let's say instead of going to:
http://www.example.com/terms.php?define=candy
I go to:
http://www.example.com/define/
And instead of getting a 404/403/errorpage, I get a regular page, and from there I can like pick different terms. So from that auto-loading page, I can navigate the directory as though it were composed of like normal files. Or is that just delving into the realm of leprechauns?
If that can't be implemented, how can I map URLs without using .htaccess or any Apache config files? (I don't have access to them) Like, if someone went:
http://www.example.com/define/candy
They'd get:
http://www.example.com/terms.php?define=candy
I'd add in manual PHP files like everywhere to redirect, but that's really stupid. I'd rather have like an index page that would take the current query (So whatever comes after /define/) and then bring you to terms.php?define=(query here).
Well, thanks.
Cheers,
The-always-confused Jorophose
And another thing... Is it possible to achieve like a frame effect with php, where let's say instead of going to:
http://www.example.com/terms.php?define=candy
I go to:
http://www.example.com/define/
And instead of getting a 404/403/errorpage, I get a regular page, and from there I can like pick different terms. So from that auto-loading page, I can navigate the directory as though it were composed of like normal files. Or is that just delving into the realm of leprechauns?
If that can't be implemented, how can I map URLs without using .htaccess or any Apache config files? (I don't have access to them) Like, if someone went:
http://www.example.com/define/candy
They'd get:
http://www.example.com/terms.php?define=candy
I'd add in manual PHP files like everywhere to redirect, but that's really stupid. I'd rather have like an index page that would take the current query (So whatever comes after /define/) and then bring you to terms.php?define=(query here).
Well, thanks.
Cheers,
The-always-confused Jorophose
