Forum Moderators: coopster
I have two files... a header.php and a appointments_done.php the header file is called at the beginning of every page, but if the calling page is appointments_done.php I want a different version of header.php to display.
I was planning on doing a simple name check in my if statement. Like,
if ($_SERVER['HTTP_REFERER'] =='/staging/appointments_done.php'){
...}
If this does not work.... I am unsure why.