Web & Scripts

Multiuser Phone Book system – Open Source – My First Release in PHP

Posted by Jay     Tags: 5 April, 2010    830 views    (0) Comment

I find it difficult to track my phone numbers as it is getting complex list. When I try my iphone, I find it difficult to get the right person as it contains one time occasional contacts, regular contacts and work related folks! It ran into 300+ entries. Some of them, it is hard even to find when it is needed. Hence, I started to write a small project in php and this is my first release on that. It will be revised further until I find a good standalone application. I tried to have it global Read Full Article (Click here)...

Categories : Source Code, Web & Scripts Tags :

Permutation Function in PHP code.

Posted by Jay     Tags: , 10 January, 2010    1,027 views    (0) Comment

What is permutation? I would like define before proceeding further. A permutation of the set of numbers {1, 2,…, n} is a reordering of these numbers. Possible arrangements of a set of objects in which the order of the arrangement makes a difference. Example: Determine all the different ways five books can be arranged in order on a shelf. I just wrote a simple set of functions in php. This will list all the 3 chars permutations of “abcdefghijklmnopqrstuvwxyz1234567890″ to Read Full Article (Click here)...

Categories : Web & Scripts Tags : ,

Apache : Mod_Rewrite and Regular Expressions

Posted by Jay     Tags: , 4 November, 2009    2,327 views    (0) Comment

I guess I should start by describing a regular expression. (They aren’t too scary once you get to know them.) A regular expression is basically a small piece of code that checks for patterns. The pattern can range from a single character that matches to absolutely everything. Regular Expression Pre-qualifier… these definitions are how regular expressions are generally used in .htaccess files and though most definitions will be applicable globally, there are some that may not. Read Full Article (Click here)...

Categories : Web & Scripts Tags : ,

How to handle Basic PHP Sessions?

Posted by Jay     Tags: , , 15 October, 2009    1,003 views    (1) Comment

A session is a way to store information (in the form of variables) to be used across multiple pages. Unlike a cookie, specific variable information is not stored on the user computer. It is also unlike other variables in the sense that we are not passing them individually to each new page, but instead retrieving them from the session we open at beginning of each page. Call this code test_session_page1.php <?php // this starts the session session_start(); // this sets variables Read Full Article (Click here)...

Categories : Web & Scripts Tags : , ,

Textpad Regular Expression sample.

Posted by Jay     Tags: 30 September, 2009    3,200 views    (1) Comment

Wiki gives regular expressions provide a concise and flexible means for identifying strings of text of interest, such as particular characters, words, or patterns of characters. A regular expression (often shortened to regex or regexp) is written in a formal language that can be interpreted by a regular expression processor, a program that either serves as a parser generator or examines text and identifies parts that match the provided specification. I have already posted my review about Read Full Article (Click here)...

Categories : Web & Scripts Tags :