Tutorials Page 211
PHP and Echo
As any beginner PHP could tell you, the echo function outputs data to the screen (or command line depending on how you're using PHP). Some, however, may not know that PHP's "echo()" isn't really a function at all. From PHP.net: "echo() is not actually a...
Weekend Links – iPhone Interface, mooVRotatingMenu, Digg Hacked, jQuery Scrolling, Prototip
Create a Slick iPhone / Mobile Interface from any RSS Feed Chris Coyier drops a sweet iPhone-like script for any RSS feed. Chris used SimplePie (PHP RSS API) and jQuery to create this hot page. http://css-tricks.com/create-a-slick-iphonemobile-interface-from-any-rss-feed/ mooVRotatingMenu The people that brought you MooPan bring you mooVRotatingMenu...
Google Reader, Why Hath Thou Forsaken Me?
I need to solicit some help from my readers. Any help would be appreciated. It's been brought to my attention that Google Reader (Google's online RSS client) hasn't been display my articles since Monday of this week. This is a problem since I've posted every...
Generate Readable Byte Labels Using PHP
Whenever you manage disk space, it's infinitely easier to read when when the bytes are displayed in KB, MB, GB... format. When reading files on the disk, the server returns the disk space in bytes so it's on us programmers to program file sizes for...
Manage Server Hard Disk Using PHP
PHP provides some sweet functions to manage the server's hard disk. Here's how to use them. copy() Copies a file from a source file. disk_free_space() Returns the number of bytes remaining on the disk. disk_total_space() Returns the size of the disk in bytes. file_exists() Confirms whether or not a file exists. unlink() Deletes a file...
AJAX For Evil: Spyjax
With great power comes great responsibility. With every advancement in technology we face the threat of it being used for evil purposes. This is the case with AJAX. AJAX has a ton of great uses but one form of negative AJAX has taken...
CSS Sprites
The idea of CSS sprites is pretty genius. For those of you who don't know the idea of a sprite, a sprite is basically multiple graphics compiled into one image. The advantages of using sprites are: Fewer images for the browser to download, which means...
Facebook Sliders With Mootools and CSS – Now With Image Generation!
A few weeks back, I posted Facebook Sliders With Mootools and CSS, which explain how to create Facebook-style sliders that control the height, width, and opacity of an image: After tinkering around a bit, I modified the script to use PHP to save the resulting...
Weekend Links – MooVirtualPano, Syntax Highlighting, Image Crop, PHP Classes, Revision3 Attack
mooVirtualPano mooVirtualPano is a nice MooTools plugin for panning across elements with overflow. The site employs questionable cursors....ignore those. http://www.virtual-gadjo.com/mooVirtualPano.php MooTools Syntax Highlighting for Dreamweaver If you'd like to add the MooTools functions to your trusty Dreamweaver, this forum post shows you how. If you're...
JavaScript Arrays: The Difference Between [] and { }
Using Moo 1.2 has taught me a lot about JavaScript. Of course, that means I've made a lot of mistakes but that seems to be the best way for me to learn. While browsing the Moo source, I'd always wondered the difference between arrays...