Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logging var dumps in includes

Status
Not open for further replies.

monkle

Programmer
Feb 11, 2004
132
0
0
US
We are having issues with our site, and I have to put some logging into place to track variables. I have been beating my brains out on the issue all morning and every time I think I'm getting somewhere I hit a dead end with the solution, and it fails to take all considerations into account.

Basically it's dynamic pages with multiple includes, and I want to do a var dump to a file, without using output buffering if at all possible. The closest native php function I have found so far is var_export(get_defined_vars(), true);, but that seems to only dump the variables from the included file. Am I missing something? Are there any pre-defined packages with this functionality that I am not finding? Any advice or guidance will be greatly appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top