Sort by :
Date
Rating
Editor's Pick Only
In this tutorial we will learn how to display the day and/or time by using php. It's a very easy thing to do using php (theres only one line of code, thats right, only one!) so, lets get started.
1. Download EasyPhp, Open It or Save It
2. Double Click on the setup, and follow the next steps:
PHP and MySQL are already packaged in Linux and Mac OS X OSs. However, most PHP developer are actually using Windows when developing PHP applications. This is also true to myself. I have Mandrake Linux 10 but I'll just use it for testing purposes of my finished scripts...
1. There are 3 documents we will be creating: downloads.php, downloaditem.php, additem.php. You will need access to a mySQL Database with phpmyadmin, as well as a host with php installed onto it.
2. First lets set up the table in phpmyadmin. go to your database, and run the following SQL Comman...
Learn how to write a clean and easy contact form for your site.
We are going to be working with the $_Post or $_Get arrays. They basically tell the form if i needs to post something, or get something. In this case we are going to be showing you the basics of a contact email form, so we will be using the $_Post array.
Easily create a PHP Message Box, without using any mysql! Using this method, when your visitors post something, the simple script interprets it, and stores the message in a text document. It is also fully customizable with HTML.
Many people have asked me how i got index2.php?page=link
Basically what happens, is where ever the folllowing code is put on your main php page, is where the the page link.php will go.
Editor's Pick in PHP Tutorials, February 2007
This interesting article teaches you a foolproof way to make Watermarking in your graphic projects. The author explains the process and shows you how to do it easily. The code examples are even written for you.
The first thing we need to do is connect to the database. I always put my db connection in a universal file, that way I can just change the variables once if I need to; but for the sake of the tutorial, im putting it in this file.









