Ver Mensaje Individual
  #2 (permalink)  
Antiguo 28/01/2008, 12:12
Avatar de GatorV
GatorV
$this->role('moderador');
 
Fecha de Ingreso: mayo-2006
Ubicación: /home/ams/
Mensajes: 38.567
Antigüedad: 17 años, 11 meses
Puntos: 2135
Re: como devolver las variables de javascript a php

Mandalas via URL:
Código:
window.location='<?php echo $_SERVER['PHP_SELF']; ?>?height=' + window.height + '&width='window.width;
Luego las rescatas en PHP:
Código PHP:
$width $_GET['width'];
$height $_GET['height']; 
Saludos.