Entries Tagged 'Code' ↓

Mame .100

Just in case you missed it… Yesterday, the MameDev’s did as they were expected and went from Mame 0.99 to Mame .100 check the whatsnew ( http://mamedev.com/releases/whatsnew_0100.txt ) for changes. Download it now and get that one piece of software that will never reach 1.00! wink Mame .100

Mame dot com ( http://www.mame.net/downmain.html )
MameDev dot com ( http://mamedev.com/releases/mame0100s.zip )

An example of poor web application coding

PREMIUM.PHP

HTTP/1.1 200 OK
Date: Sat, 16 Jul 2005 20:15:06 GMT
Server: Apache
X-Powered-By: PHP/4.3.11
Set-Cookie: premium=0; expires=Mon, 18-Jul-05 00:15:06 GMT
Content-Type: text/html
Content-Length: 16

var premium = 0;

When called premium.php checks to see if you have paid for a premium account. If you have paid the cookie value premium is set to true and Java script value is also set to true since it is the Java script on the site that does the work if you are a premium subscriber. What you see above is the response to premium.php after being called form the index.php Due to the way the site is coded premium.php seems to be called from every page. Why they are setting the cookie value and not using it I have no idea. So, in order to pretend to be a subscriber it is necessary to check the servers reply and change it before Firefox gets it. I have a proxy running over here so I just set it to modify the returned data. I bet you could use the Greasemonkey Firefox plugin to change it on the fly for you. I’ll have to look into that later…

Mindless Entry

Testing image bbcode…

tn punisher Mindless Entry

Mindless Entry

So, I’m down here in NJ trying to make some money. I could really use it since I’ve had my car in the shop twice over the last two weeks. Yay! Anyway, the car is running pretty good so whatever. I haven’t done too much work on the site due to always being busy. But, one of these days I’ll get back at it.

I’ve been spending a bit of my free time helping Ragowit from http://www.grh.se with the database for his main site. I’ve also put together a crap program which seems to be working pretty well ( http://sourceforge.net/projects/shin-repack/ ). I think I’m going to take some time tonight to brush up the code on this site and make sure that I didn’t miss something when upgrading.

Maybe I’ll also try and add in some ICS blogging functions to the script. Hmm. We’ll see I guess.

Oh and everyone look out for Mikey’s FurryCon2k5!!! bigrazz Mindless Entry