CrankBerry Blog Title

Posts for ‘PHP Scripts’

2010


No Comments

PHP Cron job without using Cron tab (cron alternative with MySQL or just txt)

Categories :: PHP

You may have the need to schedule a PHP script to run but don't know and don't want to bother to learn how to use CRON job. That is ok because when I develop for smaller clients with shared hosting I tend to use a different technique anyways. Here's my alternative to running a CRON tab.

2010


(1) Comment

Awesome image cropper/thumbnail maker script – Modified Marquee Tool

Categories :: Javascript, PHP

As I'm recoding my portfolio right now, I thought to myself – how great would it be to have a thumbnail maker tool. Some PHP or Javascript solution to crop images dynamically without the use of Photoshop. I would hate to fire up Photoshop every time I want to upload something. I'm sure you've all been there before. Anyways I landed upon a script that suited my need exactly. The Rectangle Marquee Tool. The tool looks great but was a bit confusing for me to get working and based on the comment for a few others too. Now I've also done some slight PHP modification to get the script working to my needs and generating the correct thumbnails.

See what I'm mumbling on about right here:
Demonstration of Marquee Tool