1 | djbrain | 44355 |
2 | subofferul | 5220 |
3 | robica | 4610 |
4 | krystyana84 | 3980 |
5 | elena2008 | 2690 |
Membri inscrisi | 96840 |
Intrebari | 35993 |
Raspunsuri | 164903 |
fisierul form.php de
radu2011
|
|||||||||
session_start(); $_SESSION['stop'] = 10; if(isset($_POST['submit'])) { if($_SESSION['stop']!=$_POST['s']) header('Location: form.php'); /*echo 'Submit'; if($_SESSION['stop']==1024) unset($_SESSION['top']); else echo '<br/> Probleme gogule!';*/ echo $_SESSION['stop']; echo '<pre>'; print_r($_POST); echo '</pre>'; $_SESSION['stop']=11; } ?> <html> <head> </head> <body> <form action="#" method="post"> <input type="text" name="name" /> <input type="hidden" name="s" value="<?php echo $_SESSION['stop']?>"/ > <input type="submit" value="submit" name="submit"/> </form> </body> </html> |
Tags:
|
||||||||
|
Comentariul lui:
17-04-2011 14:23:02
Data:
|
||||||
|
||||||
* | Comentariu | Voturi: | 4 Voteaza |
Link sponsorizat | |
Comentariul lui:
17-04-2011 14:46:30
Data:
|
||||||
|
||||||
* | Raspuns acceptat | Voturi: | 4 Voteaza |
Comentariul lui:
17-04-2011 15:44:37
Data:
|
||||||
|
||||||
* | Comentariul autorului |
Link sponsorizat | |
Comentariul lui:
17-04-2011 15:48:34
Data:
|
||||||
|
||||||
* | Comentariu | Voturi: | 4 Voteaza |