Tag Archives: Technical Notes

Geekout!

I’m in deep geekout mode at work. I have been for the past couple of days. I’ve been working since Monday on getting a more streamlined file upload script working for our work server, and yesterday I finally developed something that I’m happy with. It’s based on a heavily modified version of Zach White’s PHP Uploader Downloader… There’s probably less than a third of his original code left, but working from his code saved me a huge chunk of time.
Continue reading

Well, at least I know I’m not insane

Ok, here’s the deal: We need to simplify file uploads here at work, and the easiest way to do that is with a simple PHP script. I’d like to test things on a non-production server first, of course… And that’s where the problem hit. It just wasn’t working on the laptop, or the desktop machine. It would completely fail to detect a simple switch statement.

Finally I wrote a stupid little script to test really basic things. And it didn’t work on the laptop, or the desktop.

But it works on the server.
Continue reading

Palm Camera

Last weekend we got a replacement for my old Handspring Visor. It had become a cat toy, and the screen was being a bit fickle about the idea of staying on. I’d been able to affect some minor improvement, but it would still blank out at inconvenient times.

Palm is doing a trade-up rebate program on two of their PDAs, the Zire and the Tungsten. The Tungsten has some great features, like wireless connectivity, but the Zire costs about $200 less and has a nifty camera concealed in the back…

MyEye.jpg

…so we decided to go with the Zire.
Continue reading

Hello Hungary!

One of the fun things about the start of a new month is seeing what surprises lurk in the web server log analysis program. This morning, for example, was the first and only time that visitors to this server from Hungary outnumbered visitors from any other country.

What’s really fun is that second place went to Switzerland. The .net and .com addresses combined were a distant third. Of course, this just counts visitors that hit between midnight and 6am local time, so by tomorrow the server will be back to its old Americentric self.
Continue reading

So THAT’S where they hid it!

One of my biggest complaints about LiveJournal was that it doesn’t have an RSS feed.. Turns out it does, it’s just hidden.
Continue reading

Handy PHP script

Using PHP and a custom 404 page to forward site visitors to a new server:


<html lang="en">
<head>
<title>All sites have been forwarded</title>
</head>
<body>
The new address for the page you requested is:<br>
<a href="http://new.server.address<? echo $REQUEST_URI; ?>">
http://new.server.address<? echo $REQUEST_URI; ?></a><br>
Please update your bookmarks.
</body>
</html>

Continue reading

It lives, It hungers!

So far so good. I think I’ve got all of the goofiness in the art archives taken care of. Some broken links are to be expected of course… I don’t know whose idea it was to have images and uploaded files referred to by their full path including host name. All I can say is thank goodness for BBEdit. Multi-file find and replace is great for taking care of those little things that Movable Type’s “Rebuild” function misses.

Testing

Ok… Address has been changed… Let’s see what breaks.

The scoop about the move

Ok folks, by this time tomorrow everything on the site will hopefully have been moved to here:

https://www.quirkspace.com/blog/

Only the last two numbers in the IP address will have changed.
Continue reading

Word from On High

Looks like the server is gonna have to move. I’ll be making the switch on Friday sometime during the day (hopefully it’ll all go smoothly). I’m also going to see what I can do about putting in a temporary server to forward things to the new address, but it might not do much good since the networking bigwigs are going to be totally cutting off outside access to the old number in a few days.