Annuaire (Directory) Postnuke Blocks
Wed, 05/12/2004 - 07:33 — sandipAnnuaire (Directory) Postnuke Blocks - Annuaire (Directory) is a tool that offers families, associations, or other groups a way to manage a private directory on the Internet. Addresses, e-mails, phone numbers, and a photograph of each member is stored in a MySQL database. Data is created and updated from a web browser.
phpBB Blog
Mon, 05/10/2004 - 15:30 — sandipFor people that want to add a blog to their phpBB forum, phpBB Blog is here... It is implemented with just 2 PHP files. One file displays a phpBB forum as blog entries. The other file displays the same forum as an RSS feed.
There are couple other interesting projects and offsite readings by Anthony Boyd.
Web Client Programming with Perl - Automating Tasks on the Web
Sat, 05/08/2004 - 00:40 — sandipAn excellent free ebook which imparts knowledge on how the Web technically works and how to write software that is more flexible, dynamic, and powerful than the typical web browser using perl and perl tk. The goal is to give you the ability to retrieve, manipulate, and redistribute web-based information in an automated fashion.
The Linux Cookbook
Fri, 05/07/2004 - 23:01 — sandipTips and Techniques for Everyday Use by Michael Stutz. This free book presents "recipes" for preparing or accomplishing a particular, specific thing. The author has selected what he considers to be the easiest and most effective methods for accomplishing particular tasks, and have arranged these recipes in general sections according to subject matter.
The layout is very simple and the book is an excellent resource for daily linux use.
Become a shell script expert !
Mon, 05/03/2004 - 10:37 — sandipThe Unix shell is the main scripting environment of every Linux, Mac OS X and Unix system, whether a rescued laptop or a million-dollar mainframe. This cookbook of useful, customizable, and fun scripts gives you the tools to solve common Linux, Mac OS X and Unix problems and personalize your computing environment. Among the more than 100 scripts included are an interactive calculator, a spell checker, a disk backup utility, a weather tracker, and a web logfile analysis tool. The book also teaches you how to write your own sophisticated shell scripts by explaining the syntax and techniques used to build each example scripts. Examples are written in Bourne Shell (sh) syntax.
Quick E-Commerce with PHP and PayPal
Sat, 05/01/2004 - 22:01 — sandipAuthor: Peter Lavin
This article gives a great insight into developing a small website that incorporates your own shopping cart or a third-party cart in conjunction with PayPal.
Finding a secure method of payment can be a problem for small businesses without merchant credit card accounts or access to a secure server. This article concerns creating an e-commerce site using your own shopping cart or a third-party cart in conjunction with PayPal. This solution will maximise the business benefits and minimise the inconvenience to the customer. A database and server-side scripting will be implemented using MySQL and PHP. Some knowledge of these technologies and of HTML is assumed.
Redirect browser to use SSL
Fri, 04/30/2004 - 23:59 — sandipYou can redirect browser to use SSL secure port using .htaccess file with Rewrite Rules.
Create a .htaccess file with the below Rewrite rule.
Options +FollowSymLinks RewriteEngine On RewriteCond %{SERVER_PORT} !=443 RewriteRule ^ https://secure.yourdomain.com%{REQUEST_URI} [NS,R,L]
Server Environment Variables
Fri, 04/30/2004 - 23:53 — sandipOne of the methods that the web server uses to pass information to a cgi script is through environmental variables. These are created and assigned appropriate values within the environment that the server spawns for the cgi script. They can be accessed as any other environmental variable, like with %ENV{'VARIABLE_NAME'} (in Perl). Many of them, contain important information, that most cgi programs need to take into account.
To get a list of such environment variables, use the below script:
#!/usr/bin/perl foreach $value(keys %ENV) { print "$value: $ENV{$value}\n"; } exit;
The Power of Find !!
Fri, 04/30/2004 - 22:32 — sandipfind is one of the most usefull and important utilities any *NIX has. We will try to demonstrate you with some find basics.
find begins at a specified point on a directory tree and searches all lower branches for files that match a given set of parameters. $ find path operators path is the directory in which find will begin to search. Any number of directories can be specified. The search is recursive. opeators/options tells find which files you are interested in.
Advanced Bash Scripting Guide
Wed, 04/28/2004 - 15:11 — sandipAdvanced Bash Scripting Guide - The Advanced Bash Scripting Guide is both a reference and a tutorial on shell scripting. This comprehensive book (the equivalent of about 556 print pages) covers almost every aspect of shell scripting. It contains 293 profusely commented illustrative examples, and a number of tables. Not just a shell scripting tutorial, this book also provides an introduction to basic programming techniques, such as sorting and recursion. It is well suited for either individual study or classroom use.