elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
28 Mayo 2012, 04:23  


Tema destacado: Sigue las noticias más importantes de elhacker.net en ttwitter!

+  Foro de elhacker.net
|-+  Programación
| |-+  Desarrollo Web
| | |-+  PHP
| | | |-+  [PHP Class] Get Info By Doddy H
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [PHP Class] Get Info By Doddy H  (Leído 487 veces)
Doddy

Desconectado Desconectado

Mensajes: 219



Ver Perfil
[PHP Class] Get Info By Doddy H
« en: 7 Octubre 2011, 01:21 »

Bueno , esto no es nada del otro mundo , solo una simple clase que te da informacion sobre el visitante

Código:
<?php

/*

Simple Class GetInfo

By Doddy Hackman

*/


class getinfo {


public function ip() {
return htmlentities($_SERVER['SERVER_ADDR']);
}

public function navegador() {

$navegador = get_browser($_SERVER['HTTP_USER_AGENT'], true);
return array(htmlentities($navegador['browser']),htmlentities($navegador['version']));
}

public function so() {

$navegador = get_browser($_SERVER['HTTP_USER_AGENT'], true);
return htmlentities($navegador['platform']);

}
}

?>

Funciones

Código:
ip() // Te da la IP
navegador() // Te da el navegador
so() // te da el SO



En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[PHP Class] Loginow 0.2 By Doddy H
PHP
Doddy 0 506 Último mensaje 7 Octubre 2011, 01:21
por Doddy
[PHP] Simple Chat By Doddy H
PHP
Doddy 0 834 Último mensaje 7 Octubre 2011, 01:26
por Doddy
[Python] Phising Gen By Doddy H
Scripting
Doddy 0 505 Último mensaje 7 Octubre 2011, 01:39
por Doddy
[Perl] Terr0r B0t By Doddy H
Scripting
Doddy 0 226 Último mensaje 7 Octubre 2011, 15:55
por Doddy
[Perl] Pass Cracker By Doddy H
Scripting
Doddy 0 118 Último mensaje 8 Octubre 2011, 16:56
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines