Good evening,
I know this is a real noob question. What I want to do is mask the url of my internal website. I have searched around the net on how I will be able to achieve this, but most have opposed on that trick. What happens is, after my login is validated, the main page is opened up. However, when I tried the url when it opened the page, it bypassed the login page T_T the only way I can think of is to mask the url T_T
Masking URL
Moderator: General Moderators
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Masking URL
No, you check to see if they are loggedin on pages that require them to be loggedin, such as the main page. If not, redirect them to the login page.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Masking URL
Thanks Abra for the prompt and fast reply, I really appreciate it. However, I'm a low level php programmer and needs guidance. I understand what you said, but I am afraid I don't know what to type in the google. I hope you can help me, thanks very much.AbraCadaver wrote:No, you check to see if they are loggedin on pages that require them to be loggedin, such as the main page. If not, redirect them to the login page.
- AbraCadaver
- DevNet Master
- Posts: 2572
- Joined: Mon Feb 24, 2003 10:12 am
- Location: The Republic of Texas
- Contact:
Re: Masking URL
What code are you using to log someone in? You need to find a PHP tutorial on user authentication.
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Re: Masking URL
I found this one out, and somehow I am able to comprehend how it was written, though I am still in the process of absorbing how everything is working http://swish-db.com/tutorials/view.php/tid/601
Re: Masking URL
I think it's working now ^^ Thanks for your time 