06-09-2008 : 1h55 min - Disconnected
Dernière modification le 27 julho 2008

 

PHP Scripts

PHP is very interesting for writing web pages. You will find trainings on this site and examples to learn how to use PHP and to understand its interest compared to HTML.

Here are some scripts you can download and use freely. If you read this page for the first time, you can read the second part of the page to see how to use these scripts. If the explanations are not clear, don't hesitate to contact me so that I can improve them :

Treatment of forms With this script, you will be able to use without installation a service to get the data from your forms and send them to you by mail.
Team calendar is a very simple calendar for a team of colleagues (in French only)
PHPVideos to manage a video library (in French only).
Cookie_adminto display "areas" on a website only visible by an administrator (in French only).
Download_count to count the downloads of your files (in French only).
Install is for adding an installation procedure to your own scripts (in French only).
css generator to create stylesheets online from a form (in French only).
Htaccess generator to protect folders on a web server.

What do you need to use a PHP script ?

Les scripts PHP nécessitent que Apache, PHP et MySQL soit installés sur le serveur que vous utiliserez. Apache est un serveur web, PHP le langage de programmation et MySQL la base de données. Tous les scripts n'utilisent pas forcément de base de données.

The server can be your own computer if you only want a local use. It can also be at your web provider if he gives you the PHP/MySQL functionality. Let's compare these two solutions :

First case : local use

This can be useful if you only want to use your scripts locally and if you don't want to give access to them to web surfers. It's rare because PHP is made to be on Internet and visible by a lot of people :-). But you can think about using for example the PHPVideos script only locally.

Local use is on the other hand very interesting when you create your script. You can test it locally before puting it online.

How to install PHP and MySQL ?

With Windows, the easiest thing to do that is to use EasyPHP. This wonderful software installs everything without difficulties. You can download it here.

With Linux, use Synaptic to install the softwares.

Remember that EasyPHP has to be started to use your scripts. The best is to go in the options and to start Apache and MySQL like services. So they will start automatically when you turn on your computer.

Second case : use on a server

You only have to find a web host who installed PHP and MySQL on its servers. If your web provider doesn't have PHP, you will have to find a web host elsewhere. As far as I know, you can't find anymore a free webhost without ads. I have chosen 1and1 .

Install

Usually you have to download the script, decompress it, sometimes modify a config file then copy the files on the web server. See each script for the details.

If you have a problem ...

Don't hesitate to ask questions in the forum.

 

Languages: fragbr (Translate)