Here is a brief walk-thru of setting up Lighttpd / MySQL / PHP (FastCGI) / Fedora on Mosso Cloud Servers. Setting up a cloud server with Mosso is easier than you'd think, its a lot like a dedicated server, and allows full root access. With this combination of web server tools your site will be up and running in no time at all.
Here is a very simple authentication library for the framework Code Igniter. It uses a MySQL database table 'users' to authenticate against. You can find some basic documentation on this library here.
Enjoy!
1,724 downloads
Edit: July 1st 2009 1:46 AM
There is a new version of php image resize which now supports remote images, you can download it now or visit the github page here:
Visit PHP Image Resize (GitHub)
There is also a new example page included in the repository.
---------------------------------------------------------------------
Just thought I would share a recent function that we have built to resize images on the fly, so if you have an image that is 800x800, and you want to make a thumbnail to 200x200 just use the function like this:
<img src="<?php echo resize("PATH_TO_IMAGE",array("w"=>200,"h"=>200)); ?>" border="0" />
Be sure to check out the example page.
Configuring is pretty simple, just make sure the cache directory that you choose is writable by the server, and you should be up and running.
The script will compare the generated images timestamp to the original image's timestamp, so if the original image is changed all cached images will be re-built.
I hope you enjoy, and let us know if you have any questions, thanks!
4,375 downloads