This tutorial teaches you how to store a picture file on the server so that you can create a photo gallery of images that users upload to your site. The coding sample initially displays a form for you to fill in; browsing is enabled. The information entered - user name and name of picture file - is saved in PHP variables. After you submit this form, the picture file (if not excessively large) is copied from the client and stored in a file in a unique directory on the server. Checks are made along the way that the necessary files have been successfully opened. After storing the client picture file on the server, the coding sample prompts you to access the server photo gallery. There, you can see the new picture file stored on the server, together with all other picture files previously stored during this user session.
PHP lets you do a lot more than simply generating HTML content, it is also a great tool to dynamically generate images on-the-fly. For example, you can create buttons with text from a database, create grapical displays of statistics from log files, and enhance business data with graphs and diagrams. This tutorial shows you how to use the GD library to dynamically create images on your site. The GD library is an external module which is accessed by a native PHP module.
This tutorial will show how you can store the data via the HTML forms "File" feature in your MySQL database and how you can access and use this data in your webproject.
This tutorial shows you how to create an interactive image maps using PHP and the GD library. It explains a method to zoom a portion of an image by using PHP and gif files.
One of the really cool features with PHP 3.0 is its integration with the GD Graphics library. Learn how to use these features and make images with pure code.
With PHP you can create images from pure code. Throughout five sections, this tutorial shows how it's done. Topics include: Create the Ellipse, Modify an Existing Image, and more.