GTI Teacup!

http://www.homeworkparty.com/projects/gtiheader.php I'm learning basic PHP!     So, I put together this helpful(?) basic redirect page to call up a random gti post, like the teacup that consumating used to have. It doesn't filter out deleted posts or deleted users and only goes for posts prior to this one, but maybe it will take you somewhere magical.   If it did, let me and anyone else know in the comments.

Replies

Joel Mushiking said, (37 days ago)

There are a lot of deleted posts. Sad.

Joel Mushiking said, (37 days ago)

Nice!

It is reminding me of a bunch of old stuff, so I am enjoying it. But I can get like 5 or 6 dead posts in a row at times.

Just got my first random post that was mine:
http://goteaminternet.com/show/4642

benbrown said, (37 days ago)

Neat!

El Indio said, (37 days ago)

how much code does such a thing require?


totally ignorant here

cupcakes, really. said, (37 days ago)

Most of those deleted posts are mine.

bizzy said, (37 days ago)

YES! Thank you!!!

I loved the teacup feature on Consu. You are awesome.

Joel Mushiking said, (37 days ago)

Not to give away too much, but this is all the code. Hopefully Ben's stuff won't strip it to unreadable.

Joel Mushiking said, (37 days ago)

Ah well, it did. basically it's this but in php brackets:

$url = "http://goteaminternet.com/show/";
$url .= rand(0,41504);

header("Location: $url");
exit;

SIMPLE!

Joel Mushiking said, (37 days ago)

but that's stored on a file on my website. It's super basic!

El Indio said, (37 days ago)

nice!! short and sweet.

Superion said, (36 days ago)

That's pretty cool.

cupcakes, really. said, (36 days ago)

Found this:
http://goteaminternet.com/show/39920

I kinda want to make that 99-legged centipede and auction it starting at 99 dollars.

Post a Reply

To leave a comment, create an account!