Shovel
Can't get enough of FH
- Joined
- Dec 22, 2003
- Messages
- 1,350
Quickie:
I have a link generated at the bottom of my webpages that links directly into the XHTML validator. However, since my entire website is served up by index.php, I need to include the page variables for my URL in that URL.
Is there a dead easy way to grab the URL, query string intract, and output it like I want.
E.g. If it were this messageboard: I want to generate: "https://forums.freddyshouse.com/newthread.php?do=newthread&f=5" not "https://forums.freddyshouse.com/newthread.php".
Thanks
I have a link generated at the bottom of my webpages that links directly into the XHTML validator. However, since my entire website is served up by index.php, I need to include the page variables for my URL in that URL.
Is there a dead easy way to grab the URL, query string intract, and output it like I want.
E.g. If it were this messageboard: I want to generate: "https://forums.freddyshouse.com/newthread.php?do=newthread&f=5" not "https://forums.freddyshouse.com/newthread.php".
Thanks