cnicollonline

"I was just guessing at numbers and figures, pulling the puzzles apart"

Posts Tagged ‘ PHP ’

A large project I’ve been working on as of late has many moving parts. It allowed a lot of dynamic edits that utilized AJAX for sending dynamic information to and from a database. When errors occurred it was alright for me, because I could debug them however what it came the client… Well let’s just say they were convinced that with these errors their computer was going to spontaneous combust.

I’ll admit it now that I was a little lazy when developing some of the classes. I went back and modified them so that they would implement exception handling, only I went one step further and used custom exception handling so that I could log any errors that may occur.

Within this posting, im going to create a class that will have errors, and I’ll also create a custom exception class that will catch any of these errors and log them to a file

cantcatch2

 [More]

I was tasked with a project at work in which I had to build a site that would be quite dynamic. The problem however was that I could not use a database to hold information. What I did (and something I would avoid if I could) was create a class that looks within a folder thats specified and builds an array off the files within the folder.

 [More]

A few weeks ago I had wrote Arrays and Loops with php [Level 1]. This topic is expanding on that idea. I’ll be covering more complex array examples using 2D multidimensional arrays.

 [More]

I tend to do a lot of work with database entry through PHP forums. Over time I’ve seen nemorous ways in which someone will enter their phone number.

 [More]