I'm trying to launch a PHP page (B) from another one (A)
This is the code I'm using now:
echo "<meta http-equiv=\"Refresh\" content=\"0; url=secure_01.php\">";
However, the URL ( secure_01.php ) shows up in the browser title bar.
This is not acceptable since this is a secure page and getting to it is the result of logging in on the previous page (A).
How can I code this so that the URL does not reveal the page name?
How can I hide the URL in this example
Moderator: General Moderators
-
taylormade
- Forum Newbie
- Posts: 3
- Joined: Wed May 06, 2009 2:36 am
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: How can I hide the URL in this example
Hiding things doesn't make them secure. It's trivially simple to find out the name of anything your browser is displaying.
-
taylormade
- Forum Newbie
- Posts: 3
- Joined: Wed May 06, 2009 2:36 am
Re: How can I hide the URL in this example
do you think you could illustrate the code (php) that would do that.arborint wrote:Put it in a frame/iframe.
I'm quite new to php.
-
taylormade
- Forum Newbie
- Posts: 3
- Joined: Wed May 06, 2009 2:36 am
Re: How can I hide the URL in this example
true...and IFRAME is not the answer, since as stated, it is easy to see the target URL if you check the page source.
Need a better answer.?
Need a better answer.?