October 25, 2021, 07:44:47 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Donate to FreePgs.
  Home Help Search Login Register  
  Show Posts
Pages: 1 ... 15 16 [17]
241  FreePgs Related / Support Requests / Re: PHP errors appearing out of nowhere? on: October 22, 2005, 08:37:23 AM
Notice errors are basically there to show you all the imperfections in your coding, but they don't actually stop the script from working. I assume you put in that line of code gordon gave for the .htaccess file, which seems to show all errors, including E_NOTICE. You can manually set the error level in your PHP files with error_reporting(), the one that you want would probably be error_reporting(E_ALL ^ E_NOTICE); (it reports all errors except e_notice) just put this at the top of the php file that's giving you trouble.  Smiley
Pages: 1 ... 15 16 [17]
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!