PHP provides a function to get the width and height of an image. The getimagesize() function will determine the size of image file including flash file(swf).
Resizing An Image Using PHP PHP / Dynamic Images
You can use this function to dynamically generate html "width/height" for use with displaying a thumbnail image usingthe original image. This will help save in making dup images just for display as a thumbnail.
PHP Function PHP / Functions
When you have a set of variables or want to make your code simpler, you will use a function. Creating a function is really easy.
Simple Localization with PHP PHP / Navigation
Interesting ways to localize web sites with PHP. In this article I've offered another alternative, which should be easy for non-programmers to use. We will take advantage of the user function setstring function.
Recursion in PHP PHP / Functions
A recursive function is just a function that calls itself. In order to make a recursive function not explode all over itself, though, it is important to keep some ideas in mind.
Simple Image Resize in GD PHP / Dynamic Images
Were going to be creating it in a function, so that we can re-use this wherever we need to. This particular function saves the thumbnail file to a directory on the server, you could actually skip saving the file and just print out the image itself if you would prefer to do that.
PHP Create Image Thumbnail PHP / Dynamic Images
In this tutorial you will learn how to generate thumbnails from form uploaded images using GD php image library. The image ratio is maintained, so the thumbnail images will not be deformed. An image verification is performed before uploading and the image size is verified.
Test php mail function on your localhost PHP / Emailing
When you code php mail function you can't test it on your localhost you have to upload and test it on your hosting but now you can test php mail function on your localhost using Argosft mail server.
Welcome to PHP PHP / Getting Started
This is a comprehensive article / tutorial on programming in PHP. It covers a variety of key topics including PHP Structure, Scalar Variables and Data, Data collection: Arrays, Operations and Comparisons, PHP Comparison Operators, PHP Logical Operators, Control Statements, The Function of Functions, and Object Orientation.
Viewsource PHP / Functions
A number of websites, including php.net, allow you to view the source code of their PHP pages. This is usually to allow you to see how the page is put together and how the PHP code itself is written. Usually, it is not possible to view the PHP source but with a built in function in PHP, you can.
PHP/MYSQL Snippets PHP / Getting Started
This tutorial explains the following: Opening and closing PHP tags;
Connecting to a MYSQL Database; Selecting a mysql database; usage of ucfirst, ucwords, strtolower and strtoupper function, Using the date function to print different aspects of the date and time, Printing Browser Info, IP Address and hostname of the ip.
Basic HTML newsletter in PHP/MYSQL PHP / Emailing
This tutorial will teach you how to make a simple newsletter in PHP/MYSQL with account activation. This will require PHP that is not running in SAFE_MODE or PHP that at least allows the sendmail function(duh, you can't send mail without this enabled).
Generating Images on the Fly With PHP PHP / Dynamic Images
One of the most popular features of PHP is real-time image generation. That is, we can create a new image canvas, "paint" it, and either save it to a file, or send it directly to the browser. This article will show you how to create an image in real-time with PHP.
Creating files with PHP PHP / File Operations
To create a file in PHP you use the fopen function, this is the same function that is used to open files but if it does not find the file specified it will create a brand new file for you.