Web Mysql

Permutation Function in PHP code.

Posted by Jay     Tags: , 10 January, 2010    418 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    1,114 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 : ,

Product Review: Canon’s PowerShot SX20 IS superzoom, Macro Options

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

SX20 IS announcements Canon hit us with last month, so here’s a thorough breakdown of the cam for your delectation. Replacing the year-old SX10, the SX20 IS adds 720p video recording at 30 fps and takes the pixel count up to 12 million. The Canon PowerShot SX20 IS is a new super-zoom camera, sporting a 20x zoom lens equivalent to a focal length of 28-560mm. Successor to the SX10 IS model, the Canon SX20 IS additionally features high-definition video (720p), with a dedicated movie button Read Full Article (Click here)...

Categories : Reviews, Technology, Weekend_Deals Tags : ,

MYSQL: Base 64 Function call Reference

Posted by Jay     Tags: 20 October, 2009    1,063 views    Comments Off

I tried to use base64 function in mysql, but could find only a freeware/open source procedure to use it. Herewith I share the content and download-able file for you! Give the credit to the original Author. If you need ‘What is base64?”, here is the Wikipedia Reference: The term Base64 refers to a specific MIME content transfer encoding. It is also used as a generic term for any similar encoding scheme that encodes binary data by treating it numerically and translating it into a Read Full Article (Click here)...

Categories : MySQL Tags :

How to handle Basic PHP Sessions?

Posted by Jay     Tags: , , 15 October, 2009    549 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 : , ,