Welcome Guest, Not a member yet? Register   Sign In
Debug a Library
#1

[eluser]tim1965[/eluser]
Apologies if this is a stupid question.

Can i use var_dumps in libraries. i am trying to debug something in DX_auth to check if a cookie is being parameterised correctly and yet if i apply a var_dump to the library it just seems to get ignored.
What do i need to do ??
Thanks
#2

[eluser]tim1965[/eluser]
for any future reference if you apply a die;
after the var_dump it will dump the paramters
#3

[eluser]überfuzz[/eluser]
You can var_dump where aver you want. Sometime you'll get an error message. "header been sent etc..." But most of the time you'll see what the checked variable is holding. You could show some good web developers manor and do it in a closed section. ;-)




Theme © iAndrew 2016 - Forum software by © MyBB