Trent Wyman


PHP Script $_SERVER["REQUEST_URI"] to Check for a Particular URL Path

Categories:

The following PHP script checks to see if a url argument is TRUE:

<?php
if($_SERVER["REQUEST_URI"] == '/contact'){
print 'Contact';
}else{
print '';
}
?>


Announcements

DrupalCon Denver 2012 - I'm Going!

Press Release:
Michael C. Carlos Museum

Read the press release announcing the Drupal redesign of Emory University's Michael C. Carlos Museum. View Press Release