Ver Mensaje Individual
  #8 (permalink)  
Antiguo 04/04/2010, 08:45
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años
Puntos: 2534
Respuesta: Proteger .php cargado con Ajax

también, en todo caso puedes comprobar si la petición esta hecha con Ajax...
Código PHP:
if ( ! empty($_SERVER['HTTP_X_REQUESTED_WITH']))
{
    if (
$_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'// ...

__________________
Y U NO RTFM? щ(ºдºщ)

No atiendo por MP nada que no sea personal.