Forum

> > Off Topic > My failure of a signature
ForenübersichtOff Topic-ÜbersichtEinloggen, um zu antworten

Englisch My failure of a signature

14 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt My failure of a signature

Apache uwu
User Off Offline

Zitieren
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.

alt Re: My failure of a signature

Yamaxanadu
User Off Offline

Zitieren
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

alt Re: My failure of a signature

Apache uwu
User Off Offline

Zitieren
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.

alt Re: My failure of a signature

Apache uwu
User Off Offline

Zitieren
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.

alt Re: My failure of a signature

Nem
User Off Offline

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

and yeah, stop watching me
1× editiert, zuletzt 20.07.11 11:24:39

alt Re: My failure of a signature

DC
Admin Off Offline

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

alt Re: My failure of a signature

Apache uwu
User Off Offline

Zitieren
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.

alt Re: My failure of a signature

DC
Admin Off Offline

Zitieren
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...
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenOff Topic-ÜbersichtForenübersicht