Jump to content

ksummersill

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ksummersill's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Well what i am trying to accomplish is the following: Record only the errors that occur on that certain page and time and send them to the email. Thats kinda summarizes it short and sweet. The problem i am having is the framework i have all my websites on. For instance in order to get to a specific page it has to be www.domain.com/index.php?action= and then the function. I want to be able to uses this send email if error function for all the pages in my index.php. I know very confusing. :'(
  2. Ok first i will tell you the setup. I have one main directory that has many apps or websites in it. For examples: wwwroot -> apps -> and then a folder for each website. This keeps me from buying multiple servers. Anyways. I all are running php and i wanted to make a certain folder (Website) have its own log file assigned to it. Then if an error has occurred for those pages i can then email it to me. I want to record any error messages sent. Right now all i have is this on my index for that site: <?php ini_set('error_reporting', E_ALL); ini_set('display_errors', 1); ini_set('log_errors', 1); ini_set('error_log', 'phplogfile.log'); ?> But when i on purpose try to setup an error like print $sql and forget the ; at the end. The phplogfile.log is still empty. I just want to me be able to have the defaulted errors listed in it.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.