Is there some way for me to identify which server is doing an sql insert along with the details of the query? I don’t know where my inserts are coming from and would like to identify the source
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using PHP, then;
Here is the code to display your ip address.
IP address if the register_global is off
If at
php.iniif register_global is set to Off then we have to change the script a bit to get the address. Here it isNote that changing register global setting my be a security problem particularly in live hosting environment so consult your host before in this aspects also.
http://php.net/manual/en/reserved.variables.server.php