Page processing/display anomaly
| From: | acleave | Date: | Wed, 26 Feb 2003 19:18:12 +0000 |
| Subject: | Page processing/display anomaly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137297@lists.php.net to get a copy of this message | ||
I have a common header for all the pages on my site. This header has a link
with the following code:
javascript:popUp550_450('http://www.website.com/page.php?referingpage=<?php
echo ($_SERVER['SERVER_NAME']); echo ($_SERVER['PHP_SELF']); ?>')
This code works exactly right on all pages of the site except one. On the
page answer.php, it doesn't evalutate the php code in the above (so the link
literally is just as shown above and the javascript won't even call for a
pop-up window). answer.php usually has some get variables attached, like so:
answer.php?showanswer=dog but even when I type in exactly answer.php with no
variables added, the php portion of the link won't evaluate/work.
Does anyone have any idea as to why? It's a php page, shouldn't it evaluate?
Allan Cleaveland
Webmaster and Computer Technician
Math Department
Univeristy of Arkansas