Topic: PHP

ASP, CGI And PHP Scripts And Record-Locking: What Every Webmaster Needs To Know

Many of us install server-side (ASP, CGI or PHP) scripts on our web sites, and many of this scripts store data on the server. However, poorly designed scripts can experience performance problems and sometimes even data corruption on busy (and not so busy) web sites.



HTML Purifier – safe filtering in PHP

HTML Purifier is a PHP library to securely filter any HTML (user) input – I stumbled onto it when reading the book PHP-Sicherheit by Christopher Kunz, Stefan Esser and Peter Prochaska. The book describes ways to prevent security breaches in PHP, and one possibility to completely prevent XSS vulnerabilities is HTML Purifier.
HTML Purifier makes your [...]



PHP5 time zone solution

Time zone settings are normally not the first thing you think of when working on a web project with PHP, yet as soon as dates and specific times are relevant to your application and you possibly have users from different time zones, you suddenly realize how practical it would be if the times you work [...]



What is XSL?

This specification defines the syntax and semantics of XSLT, which is a language for transforming XML documents into other XML documents.
XSLT is designed for use as part of XSL, which is a stylesheet language for XML. In addition to XSLT, XSL includes an XML vocabulary for specifying formatting. XSL specifies the styling of an [...]



Create Dynamic URLs With Mod_Rewrite and PHP Functions

Introduction
Mod_rewrite is a useful little module. If you defined different rules in the .htaccess file, you got some limited extendability, but you still had issues with adding new variables on the fly. So here we remedy this.
Â
Â
Refresher And The Idea Behind It
What is the plan. Well, first, how about a quick refresh about [...]



Programing Cheat Sheets

After learning a few programing languages it gets hard remembering all of the functions and properties that programing languages come with. Below is a list of Cheat sheets to make your coding experience much easier and faster. The list is categorized by languages.