<?xml version="1.0"?>
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd" >  
<rss version="0.91">

  <channel>
    <title>Recipes from the PHP Cookbook</title>
    <language>en-us</language>
    <link>http://www.ActiveState.com/ASPN</link>
    <copyright>Copyright 2001, ActiveState SRL.</copyright>
    <webMaster>aspn-feedback@ActiveState.com</webMaster>

  <image>
    <title>ASPN: ActiveState Programmers Network</title>
    <url>http://www.activestate.com/img/logo_115x35.gif</url>
    <link>http://www.ActiveState.com/ASPN</link>
    <width>115</width>
    <height>35</height>
  </image>

  
  

    <item><title>SPICE for PHP</title>
<description>SPICE has been in development since 2002&#46; The first version was implemented
on a graphing calculator&#44; designed to work with base 27 numbers&#44; and used hard
coded keys&#46; The program was ported to Java and later redesigned in Python&#46; This
implementation was ported directly from the standard code base&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/572178</link>
</item>
<item><title>Bass class for PDO abstraction</title>
<description>This is a simple base class that extends PDO and provides some useful helper functions such as _getRows and _getAsRow&#40;&#41;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/522993</link>
</item>
<item><title>Bass class for PDO abstraction</title>
<description>This is a simple base class that extends PDO and provides some useful helper functions such as _getRows and _getAsRow&#40;&#41;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/522993</link>
</item>
<item><title>Simple Example demonstrating Ajax Implementation using Perl</title>
<description>In the example below&#44; we have a table containing Student names and Marks&#46; Every row has an Edit button&#44; by which user can edit the information for that row&#46; We have used Microsoft Access as the Database to keep things very simple&#46;  In order to run the below example code you will have to create a table by the name &#226;&#128;&#156;Student&#226;&#128;&#157; in MS Access&#226;&#128;&#157;&#46; It should have the following columns&#46; 

Column Name	 Data type
Sl_No&#40;Primary Key&#41;	Number
Name	Text
Marks	Number

Also you need to create a DSN by the name &#226;&#128;&#156;mydsn&#226;&#128;&#157; pointing to the Access DB&#46;

The basic logic here used in the example is that we have two separate rows for View and Edit &#40;for every Student&#41;&#46; Initially we hide the Edit row &#40;by using style&#61;&#34;display&#58;none&#34;&#41; and display the View Row&#40;by using style&#61;&#34;display&#58;block&#34;&#41;&#46;  When the user clicks on the &#226;&#128;&#156;Edit&#226;&#128;&#157; button&#44; the View row becomes hidden and the Edit row is displayed&#46; We have used JavaScript to toggle between the rows&#46; Below is the code snippet used in files &#40;AjaxExample&#46;pl and student&#46;js&#41;&#46;
</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/502299</link>
</item>
<item><title>Perl Script to obtain data file in a desired format</title>
<description>This discusses about using Perl&#44; how we can obtain a data file in a particular desired format&#44; given a data file in a random format&#46; By format&#44; we refer to the order of columns in the input data file&#46; Using this Perl script&#44; we obtain output data file in a particular format and we get another file having discarded data lines&#44; based on some filtering condition&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/502298</link>
</item>
<item><title>Installing Perl modules on Windows</title>
<description>This discusses about installing Perl modules on Windows&#44; using PPM tool or manually&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/502297</link>
</item>
<item><title>Single Linked List</title>
<description>As &#96;throw new Exception&#39; is just avaliable in 
php 5&#44; for use php 4 use that call shoud be replaced&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/498103</link>
</item>
<item><title>Microsoft Access Database Connectivity (DSN-Less)</title>
<description>An example of connecting to a Microsoft Access database&#44; executing an SQL query&#44; and displaying the results in HTML using PHP and COM &#40;Windows only&#41;&#46;

NOTE&#58;  This works with PHP 4&#46;x&#46;  I have been unsuccessful with getting this to work with PHP 5&#46;1&#46;6 and Apache 2&#46;0&#46;59 on Windowx XP Professional&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/163447</link>
</item>
<item><title>PHP Commify Function</title>
<description>This function inserts a comma separator into every 3 digits&#46; For example&#44; 100000 will be 100&#44;000&#46;

Syntax&#58;
commify&#40;Number&#41;&#59;

For Example&#58;
commify &#40;100000&#41;&#59;
Output will be&#58; &#36;100&#44;000
</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/202051</link>
</item>
<item><title>File Uploading in PHP BY ROHIT D'SOUZA</title>
<description>This is a simple code for file uploading in php</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/496677</link>
</item>
<item><title>tinySendMail</title>
<description>Frequently the mail functions of php are inaccessible due to no access to a sendmail or equivalent binary and&#47;or non&#45;configuration in php&#46;ini on a given server&#46;  This code &#40;function&#41; allows sending mail in most all cases&#44; the only requirement is the ability to open a socket in php&#33;&#59;&#41;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/466180</link>
</item>
<item><title>Random Passwords</title>
<description>length &#61; how long the password is
lconsonants &#61; adds lower case consonants &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off
uconsonants &#61; adds upper case consonants &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off
lvowels &#61; adds lower case vowels &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off
uvowels &#61; adds upper case vowels &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off
numbers &#61; adds numbers &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off
specials &#61; adds &#64;&#35;&#36;&#37;&#94; &#45;&#45; 1&#61;on &#124;&#124; 0&#61;off</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/444772</link>
</item>
<item><title>Pass Javascript arrays to PHP</title>
<description>This is a Javascript function that will convert a Javascript array to a string in PHP serialized format&#46; You can pass this string to a PHP script and easily unserialize it to a PHP array&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/414334</link>
</item>
<item><title>Domain Class</title>
<description>This class returns the whois information an checks the availability of at least 270 different top level domains&#46;

Also it validates the domains name &#40;Thought have been given to the new IDN special chars&#41;&#46; CNO WHOIS informations where returned completely&#46;

&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61; &#33;&#33;&#33; Attention begin &#33;&#33;&#33; &#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;

If you want to check the new IDN domain names please use the IDN Convert class by Matthias Sommerfeld &#40;http&#58;&#47;&#47;www&#46;phpclasses&#46;org&#47;browse&#47;package&#47;1509&#46;html&#41;&#46;

First translate the domain and the check it normally with the domain class&#46;

&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61; &#33;&#33;&#33; Attention end &#33;&#33;&#33; &#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;&#61;

The latest version of this class you can find at&#58;
http&#58;&#47;&#47;www&#46;phpclasses&#46;org&#47;browse&#47;package&#47;694&#46;html</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/266624</link>
</item>
<item><title>DB_eSession PHP class facilitates having sessions stored in a MySQL database.</title>
<description>DB_eSession is a feature packed PHP class that stores session data in a MySQL database rather than flat files&#46; It is powerful&#44; designed with security in mind&#44; and yet easy to utilize&#46; The web site has a full package download containing example scripts too&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/347808</link>
</item>
<item><link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/302089</link>
</item>
<item><title>main - python-like if __name__ == __main__</title>
<description>How to determine if we&#39;re in the &#40;directly&#41; launched script&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/303971</link>
</item>
<item><title>PHP Tic Tac Toe</title>
<description>This is a web&#45;based Tic Tac Toe game written in PHP&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/276962</link>
</item>
<item><title>PHP MySQL Search Class</title>
<description>This class can perform a full text search over multiple columns of a MySQL database table&#44; matching entries containing all search terms parsed to it&#46;</description>
<link>http://aspn.activestate.com/ASPN/Cookbook/PHP/Recipe/125901</link>
</item>

  
</channel>
</rss>