PHP_SELF, $_SERVER, etc
Hello news group,
This is a dumb question. Sorry. I would like to pass the name of the
"page",
along with some $_REQUEST variables.
I used the $_REQUEST to send and image name (with path) to a page that
displays the image referred to in the query string "view.php?
image=nicepix.jpg&p=1".
I suppose there is a way to add the PHP_SELF from the calling page
using $_SERVER['PHP_SELF'] to the query string. I was wondering if
there is some "default" way the destination page (view.php) would know
what page the image ref came from.
I would like to use the ref to the page that sent the image path for a
"back" button from the view.php page. Or...
What is the better way to do this?
Thanks
eholz1
|