Apr 07, 2011 — 5 comments
A PHP image gallery script using MySQl and Apache URL rewriting. Images can be uploaded from remote location and the users computer.
An article demonstrating how to crop an image using PHP's GD library, whilst still keeping the aspect ratio as it was originally. This is very clever as it prevents the image from looking stretch. For example, if you resized an image to 80x80 but the original image was wide-screen, then the image would look very much stretched. This article shows you how to get around that and crop images the proper way!
I ran across this great, easy but very useful API a few days ago. Now for the tutorial.. let's assume we make a website for the TalkPHP soccerteam. They've played 10 matches (6 won, 3 draw, 1 lost). We'll be making a nice three dimensional pie chart of those stats!
This class will display the results of any MySQL table including all the fields and rows. It will work out how many fields there are and display the results accordingly.
Now this is a pretty simple tutorial on how to create a nice simple reflection on images. This won't show you how to make little ripples just yet.
We're going to be constructing an Apache-like, in fact we're going to be emulating the Apache ACL in its entirety. Although you could quite easily use Apache, this allows you to see how it's all done and even extend onto it to allow temporary bans which expire after a certain amount of time - if you were that way inclined.
A brief tutorial containing how to information on Comments, Variables, Predefined $_GET Variable, Basic Math, Exponents, If Statements, Else Statements, Isset, Echo Function, Including HTML inside of PHP.
This article will be introducing a couple of nifty tricks that I've seen scattered around the Internet. One of which is how to detect for the presence of those pesky carriage returns. The article will show you how to take a correctly formatted SRT file and parse it using PHP. Another parse function for the PHP library to go alongside parse_url, parse_ini_file, et cetera!
Ever wanted to become adept in PHP's GD library? This article will show you how to create a bar chart using the PHP GD library.
In this tutorial we will be create a gallery class, and also a template class that will work together with the gallery class. This will extend on a few of the tips and tricks that many of you will have picked up if you've been followed the developments here at TalkPHP.
Help us out! More and more tutorials are submitted to Good-Tutorials each day. We could use your help with finding good tutorials. Mind lending a hand?