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
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 and PHP so be easy on me. I know I'm missing tons of information to help you help me. But any help would be greatly appreciated.
- 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
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
The Fifth Continent reborn
- 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.



