POSIX Regular Expressions in PHP

October 20th, 2008

Regular expression is the basic functionality of pattern comparison. PHP offers two sets of functions for regular expressions – POSIX style and Perl style. Both types have slightly different syntax and this post should give basic overview of the POSIX one.
Read the rest of this entry »

PHP and Excel

August 28th, 2008

Many of my customers hold data in Excel files. Then, when they decide to build a web based, database driven project controlled by PHP, ask me to move their Excel data into the MySQL. Whether it’s possible and how to do it, will be the content of this post.
Read the rest of this entry »

Date and Time in Windows Batch Files

July 9th, 2008

I’m sure you all often use date and time data to format filenames in batch files responsible for backups or logfiles routines. Those of you who administer Windows servers maybe encountered a syntax troubles using date and time system values to format required string as a filename. This post offers short guidance how to get necessary date or time substrings from Windows machines.
Read the rest of this entry »

DNS Leakage

June 29th, 2008

Couple of minutes ago one of our bots announced that has finished the DNS Leakage test. We decided to launch this test on request of one of our partner’s company which deals with private data auditing. They were interested in which sensitive information could be retrieved from the DNS.
Read the rest of this entry »

JavaScript XMLHttpRequest Object

May 16th, 2008

XMLHttpRequest is one of the goals of AJAX technology. But what XMLHttpRequest actually is, where it comes from or how we can use it will be the content of this short post.
Read the rest of this entry »

Advanced Security Related PHP Directives

April 30th, 2008

Previous post Basic Security Related PHP Directives showed us the basic set of PHP directives which significantly affects security of not PHP apps only. This article increases the spectrum of PHP security related configuration directives.
Read the rest of this entry »

Basic Security Related PHP Directives

April 28th, 2008

Configuration of PHP is one of the significant security breakpoints. There is no doubt that ignoring this can lead to serious security consequencies. I’m not talking just about web applications vulnerabilities. Wrong PHP setup can allow to take your server under control by some invader. This article is trying to help you to do more for your calm sleep.
Read the rest of this entry »

ASCII Table

March 26th, 2008

American Standard Code for Information Interchange (ASCII) is a character encoding based on the English alphabet. ASCII codes represent text in computers, communications equipment, and other devices that work with text. Most modern character encodings — which support many more characters than did the original — have a historical basis in ASCII. This article shows full ASCII Table (control, printable and extended characters).
Read the rest of this entry »

SMTP Status Codes

March 7th, 2008

Simple Mail Transfer Protocol (SMTP) is the de facto standard for e-mail transmissions across the Internet. Formally SMTP is defined in RFC 821 as amended by RFC 1123. The protocol used today is also known as ESMTP and defined in RFC 2821. The main role of this article is not to explain SMTP as itself (RFC’s describe this pretty deeply) but provide quick reference to SMTP Reply Codes. An example of basic SMTP communication is also stated here, below table.
Read the rest of this entry »

TCP Wrappers

February 2nd, 2008

System administrators must be able to manage inbound and outbound network traffic as well as prevent unwelcome visitors. UNIX like systems offer several tools to successfully fulfill these tasks. TCP Wrappers is one of the oldest and this short article is trying to give you practical examples of its use.
Read the rest of this entry »

© 2007-2013 alphapatrol.com | AlphaPatrol Blog is proudly powered by WordPress | Entries (RSS) and Comments (RSS)