Posts Tagged With PHP

Day 25 – File Streams (cont.)

Zend PHP Certification

Yesterday, I kind-of neglected to show you an example of how perform basic file access.  Today I will remedy that!  File access can be done various ways and each has its own reasons.  Here is an example of a CSV read:

Continue Reading »

No Comments

Day 24 – Streams

Zend PHP Certification

I only have one week before my certification exam!  I’m shivering in my boots (if I had boots)!  Well, the important part is not to worry and keep studying.  Here is today’s topic (and the last chapter of the book):

The streams layer is a series of classes/methods in PHP that manage the reading and writing to various data sources (file, network, compression, etc.).  Here are the basic commands you need to know regarding any stream:

Continue Reading »

No Comments

Day 23 – Additional Security

Zend PHP Certification

Okay, today should be the last day of Security topics (finally).  The first one we’re going to cover is:

Continue Reading »

No Comments

Day 22 – Database Security

Zend PHP Certification

SQL Injection – everyone talks about it, but most people fail to protect against it.  This, just like most other security concerns with PHP are INCREDIBLY easy to protect against!  To explain how to protect against SQL Injection, it’s best if I show you how to perform an attack first.  Let us suppose your login page POSTs to a file called login.php where this code resides:

Continue Reading »

No Comments

Day 21 – Website Security

Zend PHP Certification

Yesterday I explained the basic #1 rule of security when building a website – "Never Trust the User."  Today I’m going to show you why and how a malicious user can attack your website.

Continue Reading »

No Comments
« Older Posts
Newer Posts »


  • Donate

    If my work has helped you and you want to return the favor, you could purchase something for me from my Amazon Wish List or send me a donation via PayPal.

  • My Lifestream

  • License

    Unless otherwise noted, all source code and compiled files published on this website are released under the terms of the GNU Lesser General Public License.