Post subject: php_errormsg: How turned it on?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
montyauto
Forum Commoner
Posts: 25
Joined: Sat Jan 13, 2007 7:05 am

Post subject: php_errormsg: How turned it on?

Post by montyauto »

Hi there,

Hope you have been using the $php_errormsg which is a variable containing the text of the last error message generated by PHP.

This variable will only be available within the scope in which the error occurred, and only if the track_errors configuration option is turned on (it defaults to off).

Question is How turned it on if we don't have access to php.ini?
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

Maybe ini_set()?
Post Reply