shehaal
09-16-2007, 11:04 AM
Hi there,
I would like to be able to execute a piece of code using PHP, based upon part of the URL. For example:
IF CurrentURL CONTAINS "/contact/" OR "/contact.php" THEN
DISPLAY HTML code
ELSE
DISPLAY HTML code
How would I go about inspecting the current location to see if it includes a particular path or file?
Thanks heaps,
Stuart.
I would like to be able to execute a piece of code using PHP, based upon part of the URL. For example:
IF CurrentURL CONTAINS "/contact/" OR "/contact.php" THEN
DISPLAY HTML code
ELSE
DISPLAY HTML code
How would I go about inspecting the current location to see if it includes a particular path or file?
Thanks heaps,
Stuart.