Tutorials for photoshop, javascript, php, html, css, flash, and more!

tutorials for photoshop, javascript, and php
   The Machine | Search for a cog | Submit a cog

Example of real world usage of Zend HTTP to scrape protected pages.


This tutorial helps you understand: XML::Simple Methods; XML::Simple Options; “forcearray” Example – XmlSimpleArray.pl; “suppressempty” Example – XmlSimpleEmpty.pl; “keyattr” Example – XmlSimpleKey.pl; Hash Modification Example – XmlSimpleHash.pl


This tutorial shows how to handle file uploads from web forms in your CGI programs using Perl and CGI.pm.


This tutorial describes:

How to open files for input in binary mode.
How to open files for output in binary mode.
Example program to copy binary files
Example program to convert binary data to hex numbers.
Opening Files for Binary Input




This tutorial will make you aware of everything you want to learn about file handling in PERL


This Part 5 of the Perl 101 series introduces you to subroutines and teaches you how to structure your code for maximum reusability. Also included: return values, my() and local() constructs, and a marriage proposal.


Find out what those server response codes like 401, 404, 500 mean. It can help you troubleshoot minor problems – knowing these are a must if you’ll be working on programs that run on a server.




This is a list of common mistakes that people make when writing Perl scripts and suggestions on how to fix them. Included are general help tips on how to debug – very important particularly for beginners at programming. This list is based on the author’s personal experience and complaints found on newsgroups/message boards.


This note describes how to get information about a remote user from within a CGI-bin script, and lists the information available.


Hints and tips on debugging Perl CGI scripts and identifying some possible causes of server errors.