CodePaste Logo
New Snippet New Recent Snippets Recent Snippets My Snippets My Snippets My Favorites Favorites Web Code Search Snippets Search
Sign inor Register
Language: htmlphp

Valid User Agent

72 Views   
<b>Valid User Agent</b><p></p> <form action="useragentinput.php" method="post"> <i>Must have a valid User Agent in order to send message.</i><p> Name:<br> <input type="text" name="nameinput" maxlength="20" style="width: 45%;" value=" " /><br> Message:<br> <input type="text" name="textinput" maxlength="100" style="width: 100%;" value=" " /> <p></p> <input type="submit" name="Submit" value="Submit" /><input type="reset" name="ClearInput" value="Clear" /> <p></p> Current User Agent:<p></p> <?php $html = array( 'textinput' => htmlentities($_POST['textinput']), 'nameinput' => htmlentities($_POST['nameinput']) ); $nameinput = $_POST['nameinput']; $textinput = $_POST['textinput']; echo $_SERVER['HTTP_USER_AGENT']; ?> </form>
by Atak
  June 12, 2012 @ 7:09pm
Add a comment


Report Abuse
brought to you by:
West Wind Techologies