hey guys; not sure if title is right for this 
I want to make an error page, using .HTACCESS, so like...
User goes to 'page1.php' which works; from there, goes to link 'page2.php'.
But 'page2.php' no exists; how do I make it so that
it shows the error page, but the url stays 'page2.php'
This way they can type the page URL in,
so I know exactly what is wrong.
Also is there a way to use PHP to see
what URL referred it, and automatically
fill in an hidden form so I can see what page
linked to this error page??
How would I do this??
Is it possible?
Regards,

I want to make an error page, using .HTACCESS, so like...
User goes to 'page1.php' which works; from there, goes to link 'page2.php'.
But 'page2.php' no exists; how do I make it so that
it shows the error page, but the url stays 'page2.php'
This way they can type the page URL in,
so I know exactly what is wrong.
Also is there a way to use PHP to see
what URL referred it, and automatically
fill in an hidden form so I can see what page
linked to this error page??
How would I do this??
Is it possible?
Regards,
Comment