darkfreaks Posted March 1, 2008 Share Posted March 1, 2008 i still have sanitation leaking through i have tried if(!empty($_POST['process'])) { //execute form} but still it leaks empty username variables? http://vampirecity.cx-music.com/register.php Link to comment https://forums.phpfreaks.com/topic/93805-please-test-signup-page/ Share on other sites More sharing options...
peranha Posted March 1, 2008 Share Posted March 1, 2008 // Escape strings, and make sure they are filled in $subject = empty($_POST['subject']) ? die ("<b class=red>ERROR: Enter Subject</b>") : mysql_real_escape_string(strip_tags($_POST['subject'])); That is what i use for empty fields. Link to comment https://forums.phpfreaks.com/topic/93805-please-test-signup-page/#findComment-480682 Share on other sites More sharing options...
darkfreaks Posted March 1, 2008 Author Share Posted March 1, 2008 i'm not sure what is causing it though it errors if its empty so that is not the problem. :-\ Link to comment https://forums.phpfreaks.com/topic/93805-please-test-signup-page/#findComment-480690 Share on other sites More sharing options...
trq Posted March 1, 2008 Share Posted March 1, 2008 Do you want this site tested or do you actually have a specific php issue? If the later, post your question in php help. Link to comment https://forums.phpfreaks.com/topic/93805-please-test-signup-page/#findComment-480694 Share on other sites More sharing options...
Recommended Posts