Tag Archives: PHP

two new programming projects

I’ve gone on a programming project binge today, coding first in C# on a project to add an enforceable Implements attribute to class members, then in PHP to write a Github application for Facebook. I’m interested in co-developing the Facebook app, too, and have emailed a few of my programmer friends at UK to [...]
Posted in Programming, Techy | Also tagged , | Leave a comment

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 [...]
Posted in Daily life, Funny | Also tagged , , , , | 4 Comments

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 | 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 [...]
Posted in 3till7.net, Daily life | Also tagged , | 6 Comments

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 , , | 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 , , , , | 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 [...]
Posted in Programming | Also tagged | 5 Comments | Current music Smile Empty Soul - This Is War

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 [...]
Posted in Programming | Also tagged | 3 Comments

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 [...]
Posted in Programming | Tagged | 8 Comments

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 [...]
Posted in Programming | Tagged | 3 Comments