In the following tutorial we will learn how to stop the undue input from user, to put such kind of constraint you can use the following code. This script prevents users from flooding (posting excessive useless messages) your shout box, poll, comments area, forum etc. To do this, we have to use session, a valuable part of php
echo "hello $name";
echo"<br/>Sorry your maximum turn exceed";
If you enter demo in both the text boxes, output will be:
Otherwise if maximum turn exceed more than 4 times, output will be:
Sorry your maximum turn exceed
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: November 12, 2009 If you enjoyed this post then why not add us on Google+? Add us to your Circles