Jump to content

Error Handling


shane18

Recommended Posts

I never did any type of ERROR HANDLING... but I decided to start doing it so that my site is more advanced... what things must I handle errors for? mysql stuff,file editing code, etc... anyone know what all i must make sure im error handling for...

Link to comment
Share on other sites

trigger_error is a useful function rather than using 'die' for mySQL queries, as it can log errors for later. As for your file handling, file_exists, etc. Not specific enough to really answer more.

 

Using REGEX and filtering data via escaping is a must while transferring data between interfaces, so there's another start.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.