Web Design Tutorials Made Easy


Basic PHP Login Part 1

Every site nowadays seems to have some kind of admin section, some kind of login system. There’s always more features and benefits for those registered with a site than for mere guests. So how do you go about creating one of these systems? A secure, adaptable system that’s simple to use is easier than you may have thought…
Read the rest of this entry »


Ad / image Rotation using array

In many sites, there is the need for some form of ad rotation…

Serving dynamic content to visitors is great for keeping your site fresh, and this example can be applied to any purpose. Using only “arrays”, it cuts out the need for a database.

So let’s get going.

Read the rest of this entry »


Simple Contact Form

A contact form is likely one of the most basic elements every website has and needs. If you do not have one or do not know how to use the one you have this simple contact form is just what you need. I won’t go into too much detail for the code itself, but will post the demo, download link, and explain what you need to edit in each file.

Demo url: http://www.focusedtutorials.com/contact-form/
Download link: http://www.focusedtutorials.com/downloads/contact.zip

The following is how you customize this form for yourself.

Read the rest of this entry »


PHP Include Hell

With Microsoft Windows applications you have something called “dll hell”. Anyone who has tried to deploy a app knows what I am talking about when I say “dll hell”. PHP has its own version of “dll hell” called “include hell”. “Include hell” comes when you are including multiple versions of a particular php file in one php script that wants a particular version, this usually happens with PEAR, for example; a older version is installed by the host and included in php.ini; the customer rolls their own version of PEAR and includes in it via .htaccess; and a package comes with its own version of PEAR and includes it by file. Thus we have three different versions of PEAR floating around and causing function creation errors.

Read the rest of this entry »


Introduction to PHP: What it is, What it isn’t.

What do I need to know?

In order to complete the tutorials I write on PHP and have any idea what happened, you will need to have a basic understanding of what HTML/XHTML is and a little previous experience using it. If you don’t have the experience required you are still welcome to try, but I can’t be held responsible for any hair loss that results from such an action ~_^.

Read the rest of this entry »


The Ever-Changing World of PHP

In this article, I will take you through a brief history, current libraries, and PHP 5.

Then:

PHP has always been an ever-expanding web programming language, ever since it’s initial release on June 8th, 1995. PHP initially began as a bunch of CGI binaries written in C deemed “Personal Home Page Tools” (PHP tools). Two years later, Andi Gutmans and Zeev Suraski, the founders of Zend Technologies, took Rasmus Lerdorf‘s PHP-FI (PHP’s version 2) and rewrote the parser, giving birth to PHP 3 (now called Pre-Hypertext-Processor). In 1998, the parser was redesigned once again and named the Zend Engine, and the popular PHP 4 was released in the May of 2004.

Read the rest of this entry »


Categories
Archives