Advertisement
sagaida

index.php

Aug 15th, 2016
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. <?php @session_start(); ?>
  2.  
  3. <?if(!isset($_SESSION['fio']) || !($_SESSION['fio'])){?>
  4.     <form method="post" action="set.php" >
  5.             <input type="text" name='fio'>
  6.             <button type="submit">ФИО</button>
  7.     </form>
  8. <?}else{
  9.     print "Привет,".$_SESSION['fio'];
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement