| |||||||||||||
| | #1 (permalink) |
| Super Mod Join Date: Dec 2007
Posts: 216
![]() |
It's real =p. If enough people ask to make a tutorial I will. I used PHP, didn't use SQL. The background isn't actually transparent, I just made it the color of the background on these forums.
__________________ Last edited by H3X; 08-16-2008 at 02:20 AM. |
| | |
| Sponsored Links | |
| | #7 (permalink) |
| QC > US |
Coool ! That's a dynamic signature right ? Then: to output someone's browser, IP, and resolved IP? Use this in your code: Code: // get IP and resolve IP
$ip = $REMOTE_ADDR;
$resolved = gethostbyaddr ($REMOTE_ADDR);
// check for non resolve of IP and rip domain if resolved
if ($resolved == $ip) {
$isp = ".. Can't Resolve IP";
}
else
{
$str = preg_split("/\./", $resolved);
$i = count($str);
$x = $i - 1;
$n = $i - 2;
$isp = $str[$n] . "." . $str[$x];
}
// Simple OS Detection
$os = $HTTP_USER_AGENT;
$oslist = Array (
// Windows
"Win|Windows",
"Win16|Windows",
"Win95|Windows 95",
"Win98|Windows 98",
"WinME|Windows ME",
"Win32|Windows",
"WinNT|Windows NT",
"Windows 3.1|Windows 3.1",
"Windows 95|Windows 95",
"Windows CE|Windows CE",
"Windows 98|Windows 98",
"Windows ME|Windows ME",
"Windows NT|Windows NT",
"Windows NT 5.0|Windows 2000",
"Windows NT 5.1|Windows XP",
// Macintosh
"Mac_68000|MacOS m68K",
"Mac_68K|MacOS m68K",
"Mac_PowerPC|MacOS PPC",
"Mac_PPC|MacOS PPC",
"Macintosh|MacOS",
// Unices
"X11|UNIX",
"BSD|BSD",
"SunOS|SunOS",
"IRIX|IRIX",
"HP-UX|HP-UX",
"AIX|AIX",
"QNX|QNX",
"SCO_SV|SCO UNIX",
"FreeBSD|FreeBSD",
"NetBSD|NetBSD",
// Linux
"Linux|Linux",
"Debian|Debian GNU/Linux",
// Other
"BeOS|BeOS",
"OS/2|OS/2",
"AmigaOS|AmigaOS",
);
foreach ($oslist as $osnow) {
$osnow = explode ("|", $osnow);
if (eregi ($osnow[0], $os)) {
$endos = $osnow[1];
$check = "No";
} elseif ($check != "No") {
$endos = "Unknown";
}
}
/*
to output the OS, use $endos
to output the IP, use $ip
to output the resolved IP, use $resolved
Last edited by Kedzi; 08-17-2008 at 06:01 PM. |
| | |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| IPH Signature and Avatar | aman_9 | Shop District | 0 | 08-08-2008 02:51 AM |
| [Help] With a Signature. | CHAINS | Graphics | 0 | 04-21-2008 02:03 PM |
| quoting in signature | xiaden | Site Support & Help | 5 | 02-01-2008 12:36 AM |
| Sponsored Links |
| New To iPodHacking.com? | Need Assistance? |