PHP Snippets

Every PHP developer needs a good and reliable collection of code snippets. In this category, you will find 900+ copy and paste code snippets that will help in your next PHP project.

Results via Envato Market

If you put this script at the top of your pages you can deny the configured IP from viewing your pages It has an option to notify you by email

This code Pulls information from a Cookie that was set by ASP with multiple values The cookie name is Employee HireDate Security Username Enter LastName and FirstName are all variables

Here’s an include file that gives your scripts the mystical powers of the tail command I give it a version of because even though it works fine I’m sure someone