We help IT Professionals succeed at work.

What DB is being used in what PHP file?

219 Views
Last Modified: 2013-12-16
Is there an easy way to detirmine which php files scattered between many directories is calling a particular mySQL db?
Comment
Watch Question

Commented:
Find out the db names that the site accesses then do a site wide string search for the db name in question. If the results come up with only a statement in a function, repeat the string search using the function name.

This is only possible if the source is unencrypted though.
CERTIFIED EXPERT
Top Expert 2004
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Have access to the source code on the file system
CERTIFIED EXPERT
Top Expert 2004

Commented:
Were you able to locate what you needed?
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.