|
|
| Wed July 23rd 2008 5:49 pm | Blog | Gallery | Geek | Travels | Home | Contact | Archives | Links |
MP3 Playlist Generator
MySQL: Get Next Auto_increment PHP Fortune Recurses! Foiled again.... Kernel Watch Get yer PHP Referrers here |
GeekI am a music nut. I'm always checking out all kinds of music. I have a very large collection of MP3 files, and it grows all the....
[More]
Posted by Jamie Comments: 4 So I was working on the preview feature of the home grown content management system for this site, and I came across an interesting problem for which my friend Google had no answers. So I needed a way of finding out what MySQL would assign as the next auto_increment entry ID if I were to actually insert a record.
[More]
Posted by Jamie Comments: 65
[ PHP Fortune ]
A simple and elegant way to provide the UNIX 'Fortune' on your web page is to use the PHP passthru function, like so:
passthru("/usr/games/fortune -s");
...or...
passthru("/usr/local/bin/fortune -s");
...depending on your distribution. ....
[More]
Posted by Jamie Comments: 3 Need to operate on files contained within multiple levels of a given directory?
Here is a bit of code that works flawlessly. Using the File::Find Perl module, this script,....
[More]
Posted by Jamie Comments: 0
[ Kernel Watch ]
The "Kernel Watch" tells you what the latest versions of the Linux Kernel are. This information can always be found at kernel.org. I get it using....
[More]
Posted by Jamie Comments: 1 A note about this entry:
The script described below has changed since it was originally written, only because I have moved the whole site to a different server on a....
[More]
Posted by Jamie Comments: 9 |
| © 2003 Jamie Doris | Blog | Gallery | Geek | Travels | Home | Contact | Archives | Links |