A product of my lethargy is a program called quickscript. Why is it called quick script you ask? Well, let's break down that word. The adjective quick obviously applies to script and so therefore the script is QUICK but what is the script? Well, the script is anything a script can be, in programming terms that is. So therefore we have surmised that it is a quick programming script. What part of the script is quick you ask? Well the execution part is actually quite horribly slow in comparison to the traditional flat file based method. The ability to create and utilize the script on the web without ever opening a FTP client is what justifies the use of the adjective quick.
Here's the script:
require('dbconnect.php');
if(isset($_GET['id']) && is_numeric($_GET['id'])){
$query = "SELECT * FROM scripts WHERE id = ".mysql_real_escape_string($_GET['id'])." LIMIT 1";
$result = mysql_query($query) or die('Query failed Couldn\'t get script from database!');
if($row = mysql_fetch_array($result)){
$content = $row['content'];
$type = $row['type'];
$lastuse = $row['lastuse'];
if($type == "php"){
eval($content);
}
else{
header("Content-type: ".$type);
echo $content;
}
$update_query = "UPDATE scripts SET lastuse = NOW( ) WHERE id = ".mysql_real_escape_string($_GET['id'])." LIMIT 1";
mysql_query($update_query) or die("Failed while updating timestamp");
}
else{
echo "No database entry matching this ID";
}
}
else{
echo "No ID was found!";
}
PHP Highlighting brought to you by the php function "highlight_file();".
As you can see it is incredibly simple and will probably save me a few minutes of my time everyday. If you can read PHP you've probably noticed that it records the time the script was last accessed back to the database. This is purely for information purposes and has hitherto been completely useless.
At this point your inner dialogue may be saying "Gee, this guy must make a lot of scripts to require something like this and if he doesn't then this whole script is a gigantic fallacy and what he's done is waste his time!". Well, I don't really know how to respond to such logical reasoning. It appears as though I have indeed wasted my time. Really though, I have a bit of a problem with creating a new flatfile script on my server just so I can temporarily mess with people in a message board.
With that in mind I would like to note that I haven't actually created an admin script for this. I modify everything using phpMyAdmin. Due to the scripts simplicity I think creating an admin script would waste even more time than creating quickscript did. Which got me thinking, about 80% of the stuff I've made has had such a simple database structure that I could have all the table modifications manually through PHP my admin instead of creating my own custom phpMyAdmin interface with everything labeled in pink and purple and with soft rounded edges so I don't cut myself.
I'm not sure if this is an actual release or not. You can copy and use the script without regard to properly giving me credit. It took about ten minutes to make. Use it as you like.
This movie is a direct sequel of the first movie. Where Benders Big Score left off, the Beast with a Billion Backs begins. There’s a giant hole in the universe and everyone is terrified of it. So much so that they've been screaming for weeks on end and never got around to finding out if it was actually dangerous. This is where the planet express crew comes in.
I'm not sure which I like better, the BBS (Benders big score) story or the BBB(beast with a billion backs) story. The BBS story was much more intricate but as a result it was easy to get lost and confused. The BBB story on the other hand was a lot more philosophical because it introduces the idea that our world is being watched by a giant globe with a billion tentacles sprouting in all directions is watching over our universe in self pity of schmis own loneliness longing to be with us. Hmm, then again, I think I am sure which I like better. The BBS story.
I don't think the jokes met the standard of wit the previous episodes set. The majority of comedic moments were brought forth as references to past episodes. Only people who have seen the series would find those. Which made it especially entertaining for me but I'm not sure how people who have only seen a few episodes would like it.
Also, the giant tentacle monster with it's gentacles (tentacle genitals) was a little bit perverse and by a little bit I mean a very large bit.
I found such a system. The thing about the system I found is that it pretty much did everything I wanted it to do. Things that I thought would be clever, it did that, and advertised it as one of its features. That was when I decided it would be no use making a script that has already been made. I don't want to link to the location of said script, because I despise the creator, but if you simply search for it on the most popular script directory on the internet you're likely to find it.
With that project over I thought it might be fun to see which of my images are being linked to the most. Now, in the past I've said that the GTA SA image was being leached like crazy and doubling my bandwidth. However, that doesn't necessarily mean that it's the most leached image because an image smaller in size could be leached just as much and not have the same effect on bandwidth. The most leached image is this one which is named "Sweet hot lesbian action porn porn porno 12 lesbian" as a joke. Apparently, it's a bot magnet and it's posted all over various auto-generated porn sites and blogs. I find the thought of someone viewing a site filled with pornography being suddenly interrupted in his endeavors by an image of a glass of iced tea strangely amusing. Another amusing fact is that a good percentage of traffic was from this image which has the title "emo dog" and found by googling "emo".
Of course, that system only tracks images and I have to go to my web host to find what else is being leached. Although their results are rather vague, I've found that a great deal of my bandwidth is being sucked from a crappy little website that enjoys finding music on the internet and sharing it with people at the expense of the web servers they're leaching off of. One song in particular was especially popular, its name is funny farm and was being leached like crazy. So, being the kind person I am, I renamed the files and pulled the old switch-a-roo switching it with this song. The particularly amusing part is that one unfortunate website was using it on every page of their website, including their front page.
With my dreams crushed and a developer left without any projects of his own I set out to maybe do some things to my gallery script. The first thing I did was entertain the thought of making everything AJAX but after I made a few things AJAX I realized how stupid it was. It doesn't save any time; the only thing it does save is your browser moving to a new page. The only benefit would be that you could have flashy effects when you click to view a new folder or move to a different page but I can't help but be unimpressed when the effects are delaying the arrival of what I truly want to see. I guess that's why people like AJAX though, it looks like they really did a high end job on something because of all the special effects. With another idea crushed I just did some minor touch ups and uploaded it without making any official announcements. I basically just fixed some bugs it has with some server configurations. I also made the rewrite engine an option you can turn on or off in the settings but I haven't uploaded that yet nor thoroughly tested it. You can think of it as Saurdo Gallery version 3.1 or something.