Ver Mensaje Individual
  #4 (permalink)  
Antiguo 17/07/2010, 15:25
Anarko
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: Quien me ayuda a hacer una funcion para cerrar sesion al estar inactivo

Como te va este EJEMPLO:

<?php
echo 'Jeje...';
?>

Ahora convertimos "ESO" en una funcion:

<?php
function ejemplito(){
echo 'Jeje...';
}
?>

Si la quieres llamar en OTRA PAGINA debes utilizar INCLUDE
Conoces INCLUDE ?