ערכתי לאחרונה בתאריך 06.04.07 בשעה 18:45 בברכה, DarkMaster
אקוקה אני יוכל להשתמש בפקודה שנתת
בשביל לקבל את כל ה POST שנשלחים מהדף.במידה ואני ירצה להזין את הנתונים שהם יכנסו ישר לבסיס נתונים אני יוכל להתשמש בפקודה הבאה :
<form action="index.php" method="post"> Name : <input type="text" name="name"><br> Pass : <input type="password" name="pass"><br> <input type="submit" value="send"> </form> <?php $HTTP_POST_VARS; $con = mysql_connect('localhost','root',''); $select = mysql_select_db('data',$con); $avi = "INSERT INTO `table` (`name`,`pass`) VALUES ('$_POST','$_POST')"; $lnk = mysql_query($avi,$con);
<?
|
אתה אומר בצורה הזאת הוא יזהה לבד את ה POST
