vicious
05-29-2003, 05:18 AM
okay,
say I have the page:
www.mydomain.com/index.php
now I click on a link to www.mydomain.com/home.php
However, this page doesn't exisit (404 error)
Now I'm taken to:
www.mydomain.com/error404.php
I want a script that returns:
1) The requesting page (index.php) as $request
2) The requested page (home.php) as $page
say I have the page:
www.mydomain.com/index.php
now I click on a link to www.mydomain.com/home.php
However, this page doesn't exisit (404 error)
Now I'm taken to:
www.mydomain.com/error404.php
I want a script that returns:
1) The requesting page (index.php) as $request
2) The requested page (home.php) as $page