Forum

> > Off Topic > My failure of a signature
Forums overviewOff Topic overviewLog in to reply

English My failure of a signature

14 replies
To the start Previous 1 Next To the start

old My failure of a signature

Apache uwu
User Off Offline

Quote
I finished this fail sig, can you guys give me feedback on if it does what it's supposed to do?

It's supposed to show your name as an image.

PHP Source Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
//error_reporting(E_ALL);
//ini_set('display_errors', '1');
function get($a,$b,$c){
	$y = explode($b,$a);
	$x = explode($c,$y[1]);
return $x[0];
}
$user=file_get_contents("http://unrealsoftware.de/users.php?o=5&d=1");
$user=get($user,'<a class="ilb" href="profile.php?userid=','</a>');
$user=split('">',$user);
$user="Hello $user[1], we have been expecting you.";
$im = @imagecreate(strlen($user)*9.5,20);
$background_color = imagecolorallocate($im,0,153,0);
$color = imagecolorallocate($im,255,255,255);
imagestring($im,20,10,1,$user,$color);
header("Content-Type: image/png");
imagepng($im);
imagedestroy($im);
?>

Enjoy, please tell me if it works or not.

old Re: My failure of a signature

Yamaxanadu
User Off Offline

Quote
It does work, but it looks like shit

And has no goddamn sense either, why the fuck would you want to say "Hi (Name)" for no goddamn reason? a proper Signature is better, darnit

old Re: My failure of a signature

Apache uwu
User Off Offline

Quote
Yeah it's highly inaccurate. It uses "http://unrealsoftware.de/users.php?o=5&d=1" to find the latest user that views a page, which should be the user who is viewing the page. But you know there is lag between these servers causing different names to show every time.

old Re: My failure of a signature

Apache uwu
User Off Offline

Quote
nonono, it's not possible to get YOUR userid from there.

My server is external so I need to view something global. I need to match your request with the quickest thing there is, which is the online player list supplied by the usgn.

old Re: My failure of a signature

Nem
User Off Offline

Quote
Oh lol! Quite fun thing
Is there any way to upload it somewhere to free host ?

and yeah, stop watching me
edited 1×, last 20.07.11 11:24:39 am

old Re: My failure of a signature

DC
Admin Off Offline

Quote
I actually hate this because you are wasting traffic with pointless website requests this way...
(doesn't matter at all though)
funny idea.

old Re: My failure of a signature

Apache uwu
User Off Offline

Quote
imagine a user:name bbcode, so it will show up their name.

Pointless I agree, I'll take the sig off, if this continues it actually will double your server usage.


EDIT: Is there a table of all unrealsoftware users?

Ex. {1=DC,2=Divine,3=etc,4=etc}?

This would be cool for sigs that don't require internet support.

old Re: My failure of a signature

DC
Admin Off Offline

Quote
such a table exists only in the database. I'm not going to export it for signatures. lol.

you clearly put too much time and thoughts into your signature...
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview