Blog

Useful PHP tips

Use an SQL Injection Cheat Sheet XSS (Cross-Site Scripting) and CSRF (Cross-Site Request Forgeries), are at least as common and at least as dangerous. We can provide some much-needed context, but because we don’t want to focus too much on one attack, we’ll first take a step back. Every developer should be familiar with good …

Read More

Google URL Shortener by Goo.gl with Firefox Addon

Goo.gl is a service that takes long URLs and squeezes them into fewer characters to make a link that is easier to share, tweet, or email to friends. The core goals of Goo.gl service are: Stability – ensuring that the service has very good uptime Security – protecting users from malware and phishing pages Speed …

Read More

The Worst Crimes by Web Designers & Developers

Web designers & developers often focus on web standards, table-less layouts or CSS effects like styled lists or sidebars etc. All these things are perfectly OK unless they are executed at the expense of findability. Findability is a seemingly new term that has become a buzzword recently due to a book called Building Findable Websites …

Read More

PHP backup DB

backupDB() is a PHP script that backs up MySQL tables and databases to a gzip’d file for easy daily backup. Can back up a single database and/or table, or all tables. Structure-only, complete-inserts optional. Can be called interactively or run as a cron job. Works well with doSQL() (also available on this site).

Read More

Widget: Related Posts

I’ve created a simple Related Posts widget for WordPress. It showing posts from the same category as the current post is.

Read More

How jQuery works?

The basics: This is a basic tutorial, designed to help you get started using jQuery. If you don’t have a test page setup yet, start by creating a new HTML page with the following contents: <!doctype html> <html> <head> <script type=”text/javascript” src=”jquery.js”></script> <script type=”text/javascript”> </script> </head> <body> Download jQuery at <a href=”http://jquery.com/”>jQuery.com</a> </body> </html> You …

Read More

PHP Basics: Directory

The directory functions allow you to retrieve information about directories and their contents.

Read More

PHP Basics: Calendar

The calendar functions are useful when working with different calendar formats. The standard it is based on is the Julian day count (Julian day count is a count of days starting from January 1, 4713 B.C.). Note that the Julian day count is not the same as the Julian calendar!

Read More

PHP Basics: Array

PHP supports both simple and multi-dimensional arrays. There are also specific functions for populating arrays from database queries.

Read More

About PHP

What is PHP anyway? PHP is a powerful tool for making dynamic and interactive Web pages. Is a widely used, general-purpose scripting language that was originally designed for web development to produce dynamic web pages. PHP means Hypertext Preprocessor. PHP was originally created by Rasmus Lerdorf in year 1995. The main implementation of PHP is …

Read More
Page 1 of 212»

Advertising

Advertising