Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php @session_start(); ?>
- <?if(!isset($_SESSION['fio']) || !($_SESSION['fio'])){?>
- <form method="post" action="set.php" >
- <input type="text" name='fio'>
- <button type="submit">ФИО</button>
- </form>
- <?}else{
- print "Привет,".$_SESSION['fio'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement