Re: Sending a message

From: Date: Fri, 05 Aug 2011 05:41:29 +0000
Subject: Re: Sending a message
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-314379@lists.php.net to get a copy of this message
or if you want to do this risky and none secure thing try this: $query="select * from members where user='".$_POST['user']."'and pass=password('$pas')"; well first you must check errors in mysql then storing in session also it is better to use: $user=mysql_real_escape_string($_POST['user']); then write the query

« previous php.general (#314379) next »