#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Depends on how you display the page. To make it very simple you can pass a GET parameter to the URL like mywebsite.com/login.php?invalid and then display the section if that parameter is set. Obviously don't use this method for things that only admins are able to see because users can guess these parameters. Use sessions for those things.

PHP код:
<?php if(isset($_GET['invalid'])): ?>
    <p>invalid</p>
<?php endif; ?>
Thanks.
Reply


Messages In This Thread
PHP - by StrikerZ - 28.04.2017, 14:25
Re: PHP - by Vince - 28.04.2017, 15:25
Re: PHP - by StrikerZ - 28.04.2017, 15:29
Re: PHP - by StrikerZ - 28.04.2017, 16:39
Re: PHP - by AndreiWow - 28.04.2017, 17:05
Re: PHP - by StrikerZ - 28.04.2017, 17:07
Re: PHP - by AndreiWow - 28.04.2017, 17:09
Re: PHP - by StrikerZ - 28.04.2017, 17:10
Re: PHP - by StrikerZ - 29.04.2017, 07:30
Re: PHP - by RebeloX - 03.05.2017, 01:27

Forum Jump:


Users browsing this thread: 1 Guest(s)