IT Community - Software Programming, Web Development and Technical Support

Post subject: php_errormsg: How turned it on?

This is a discussion on Post subject: php_errormsg: How turned it on? within the PHP Programming forums, part of the Web Development category; Hi there, Hope you have been using the $php_errormsg which is a variable containing the text of the last error ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 05-23-2007, 12:01 AM
montyauto montyauto is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 55
montyauto is on a distinguished road
Thumbs up Post subject: php_errormsg: How turned it on?

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?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 05-23-2007, 03:23 AM
vadivelanvaidyanathan vadivelanvaidyanathan is offline
D-Web Genius
 
Join Date: Feb 2007
Posts: 803
vadivelanvaidyanathan is on a distinguished road
Default Re: Post subject: php_errormsg: How turned it on?

Use this "error_reporting(E_ALL);"
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-13-2007, 08:18 AM
Senthilkumar Senthilkumar is offline
D-Web Programmer
 
Join Date: Mar 2007
Posts: 93
Senthilkumar is on a distinguished road
Default Re: Post subject: php_errormsg: How turned it on?

Hi

the below code is turned on the error report in php.ini

<?php
ini_set ('error_reporting', E_ALL);
?>

Thanks
Senthil Kumar S.
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get the Post values without using Server Variables? senraj PHP Programming 6 10-17-2007 11:31 PM
How can I send variables from a PHP script to another URL using POST without using fo kingmaker PHP Programming 2 07-24-2007 02:58 AM
how to post multiple select value through javascript saravanan HTML, CSS and Javascript Coding Techniques 1 07-13-2007 04:53 AM
Outlook - Mail subject empty alert priyan Microsoft 1 07-11-2007 07:57 AM
How to Post and get the Multidimension Array? varghese PHP Programming 1 07-11-2007 06:06 AM


All times are GMT -7. The time now is 03:03 AM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0