PHP Tutorials

Whether just getting started or an expert, this vast collection of PHP tutorials will help you create dynamic content for powerful web-based applications in no time.

Results via Envato Market

By Sean Cazzell on July 30, 2000 If you’ve ever done any perl programming, or if you’ve spent any time talking to perl programmers, you have probably heard of “CPAN” – the Comprehensive Perl Archive Network. CPAN provides a central repository of perl modules, most of which are made available…

By Sean Cazzell on July 30, 2000 PEAR Standards Perhaps the most important part of the PEAR project is finally defining an official standard for creating reusable, well documented php packages. A standard set of guidelines are necessary to make sure all PEAR packages are available to as many developers…

By Sean Cazzell on July 30, 2000 Error Handling The correct way to handle errors is still a subject of discussion on the PHP-PEAR mailing list. It is important however, that you never call die or exit inside your packages. Doing so will prevent the application using your package from…

By Sean Cazzell on July 30, 2000 PHPDoc Many modern languages have a built in documentation system which allows developers to embed documentation into their code. This makes keeping documentation up to date easier, and simple tools can be created to parse the documentation out of the code and create…

By Sebastian Moericke-Kreutz on July 30, 2000 Have you ever wondered where people go when they leave your site? With php3 it is easy to trace this. Sure, several solutions of redirect-cgi’s exist, but why bother with another language when you can keep it straight to php3 and make it…

By Sebastian Moericke-Kreutz on July 30, 2000 You can easily expand the table for additional parameters like Keyword for the link, User ID’s and more. What follows is the code for the php3-Page: redir.php3 <?php   // Where did they go today? Version 1.02 – redir.php3 // (c) 1998 by smk_at_well.com // Set variables for Database Access – you’ll have to set up your own     $db_server = “127.0.0.1”;     $db_user = “redirector”;     $db_pass = “secret”;     $db_data = “redir”;     $db_table = “redirect”; // First, check target if (!isset($u_target))      die(“Sorry, no link was set in $u_target”); // Second, is the referrer set? Note: HTTP_REFERER and some other variables  //have to be written uppercase or they won’t work. if (!isset($u_referrer)) {…

By Sebastian Moericke-Kreutz on July 30, 2000 When you have set up the database and placed the page right you can use it in different ways: First, you can use it for standard <a href=”redir.php3?u_target=http://www.zet.net”> -commands. Second, you can use it in special forms for easy (and logged 😉 navigation….

By Siddharth Venkatesan on July 30, 2000 Before commencing this tutorial, i have to say that for the ODBC setup section, I used the work of Leo West. His page on ODBC setup and interfacing with Ms-SQL server was most usefull to my original work project… Until my boss changed…

By Siddharth Venkatesan on July 30, 2000 Creating An Access Database To Use Generally when you start up access, it gives you the option of opening an existing database or creating a new one. For the purpose of this tutorial, im going to assume you are going to create a…