Latest Tweet
- Remember folks: the blue mini neon sour gummi worms are best. 2 weeks ago
- More updates...
Categories
Tags
academia alcohol animals boyfriend cooking databases email forwards family Flickr food friends health Lexington Linux list Mario math movies music news OS X Perl photos PHP politics programming quizzes Rails rants reading Ruby screenshots shopping Sims sports themes tutorials Twilight is ridiculous vehicles video games videos weather Web development work zombies again-
Recent Comments
-
Random Quote
Every adventure requires a first step. Trite but true, even here.
— Cheshire Cat, American McGee's Alice Syndication
All posts RSS feed
Tag Archives: PHP
graduate school, Rails, and the squealing loo
Pfhew, excitement! First things first, I applied to UK’s graduate school yesterday. Yes, I know, I’m crazy! I’m going to get my Master’s in computer science because I enjoy having $22,000 in debt already from student loans and I think my life would be more complete if I added another $10,000 or [...]
my Qbee PHP script
I'm a member of the Quilting Bee and I use a very simple PHP script I wrote for displaying my quilt. I figure someone else might get some use out of it, so here it is for your coding pleasure:
PHP
<?php
// The relative URL to the directory containing my patches
$img_dir = '/wp-images/qbee/';
// The patches [...]
Posted in Programming Also tagged programming 8 Comments Current music Frontier Psychiatrist by The Avalanches
IBM swag and a roach-squashin’
I was trying to edit an old post, ‘PHP and forms’, this morning but I kept getting “Service Temporarily Unavailable.” Every time in the past that I have tried to edit that particular entry, I’ve gotten the same result. I don’t know if it’s Wordpress or Dreamhost or what, but it’s annoying as [...]
using AJAX to implement a live search
I recently implemented a live search on the quotes page, so I figured I'd give a tutorial on how I did it. A "live" search is like a regular search feature, but if the user has Javascript enabled, the search will run as they type, instead of waiting for them to hit the 'Submit' [...]
Posted in Programming Also tagged AJAX, Javascript, tutorials 1 Comment Current music Beautiful Liar by Beyonce and Shakira
using AJAX to spiff up a gallery
Lightbox is nice and all, but sometimes I find it clunky, particularly in Firefox when I have a lot of other tabs open. However, I don't want to go the route of having an image load by itself in the browser, because it would be so much nicer to have it integrated into my [...]
Posted in Programming Also tagged AJAX, Javascript, programming, tutorials, Web development 6 Comments
image generation in PHP
Creating images on-the-fly can be a very useful skill. Using PHP's built-in image generation functions, it's pretty easy, too. This tutorial will detail how to have the titles of blog entries show up as automatically generated images.
What we'll be doing is passing arguments via the URL to a separate file that will be [...]
simple photo gallery script
A very simple photo gallery tool. It displays a set of thumbnail images (made by you) and then each individual image when clicked.
Requirements
You need PHP support on your server. An easy way to test this is to stick <?php phpinfo(); ?> into a .php file, upload that file to your server, and load [...]
random quotes with PHP
So you want to display a randomly selected quote on your page, and you want to use PHP to do it. It’s dang simple, let me tell you.
Requirements
You need PHP support on your server. An easy way to test this is to stick <?php phpinfo(); ?> into a .php file, upload that file to [...]
more dynamic sites through PHP
A couple of reasons to use PHP in your site:
Separation of content from design–when you want to change the look of your page, you can update a few files and every page of your content will be updated with those changes.
You have more power than if you used some language such as JavaScript, because it [...]
two new programming projects