Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DotGeek:
Restriction and Rotation
Feb 12, 2004 @ 13:12:45

In two new tutorials from DotGeek.org this morning, they cover the creation of site access restriction methods, and how to simply use the coordinates of and object's center point for positioning inside a GD2 image.

In the first tutorial, Site Access Restriction Methods they give you examples of three methods you can use to limit user access to your site: certain times of the day, IP restriction, and IP restriction for dynamic IPs. They're not fool-proof methods of restricting access, but they would work for a simple site.

In the other piece, Centerpoint rotations in a nutshell, they get a little more complex, showing you how, with the help of some GD functions, to rotate an object around its center instead of the corner (which is the standard method). The chunks of code are clear and concise, allowing anyone to adjust it to their object and image.

tagged:

Link:


Trending Topics: