No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
hi, i have searching and tested lots of scripts to get the real IP behind the proxy but still not get the right result. Could anyone with this experienced helps me out. Thanx.. |
|
Re:
Sir I am using these codes on login.php session_start(); $query="select * from w_log where email ='".$muser."' and pass='".$mypass."'"; $result=sqlsrv_query($con,$query)or die ("Error". sqlsrv_errors($con)) ; while($res = sqlsrv_fetch_array($result)) { $_SESSION['id']=($res['id']); $_SESSION['sno']=($res['usno']); $_SESSION['user']=($res['name']); $_SESSION['status']=($res['status']); } //header("location:../index.php"); //exit(); echo $_SESSION['status']; $_SESSION['status'] is equal to GENERAL But when I call this variable at the top … |
|
Re:
This is a snippet I use to clear a form. Right now it clears: TextBox, RichTextBox, ComboBox, CheckBox and RadioButton. More can be added if needed... :) |
|
hi, seems mysql_escape_string was deprecated ([http://php.net/manual/en/function.mysql-escape-string.php](http://php.net/manual/en/function.mysql-escape-string.php)) is there any alternative method? hope php developers can share with me. tq |