Results 1 to 4 of 4
I'm running Fedora and I would like to know how to determine what query is sent to SQL via a web page written in PHP. I'm fairly new to mySQL ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-31-2009 #1
[SOLVED] PHP and mySQL
- 04-01-2009 #2
The easiest way is probably to grep through your php pages for user of the 'mysqli' class, and put logging in where it calls the mysqli instance's 'query' method.Linux user #126863 - see http://linuxcounter.net/
- 04-01-2009 #3
It might be mysql rather than mysqli especially if the code is older"I used to be with it, then they changed what it was.
Now what was it isn't it, and what is it is weird and scary to me.
It'll happen to you too."
The Fifth Continent
- 04-02-2009 #4
thank you for your replies. I was able to obtain the queries grep-ing for mysql. Turns out that they used Java, PHP, and mySQL.