Page 2 of 2

Posted: Wed Nov 24, 2004 10:56 pm
by josh
TheOracle wrote: Also, how do 'validate' $_POST['username']?
If you mean validate as in checking for sql injections just do this

Code: Select all

<?php
addslashes($_POST['username'])
?>