Ver Mensaje Individual
  #5 (permalink)  
Antiguo 25/06/2006, 21:25
August
 
Fecha de Ingreso: febrero-2005
Mensajes: 626
Antigüedad: 19 años, 2 meses
Puntos: 10
Hola, Muchas gracias por responder, ya probe lo que me dices, la intente recibir tanto con $_POST como con $_GET, pero parece estar vacia la variable

No se si el problema esta con el JavaScript

Código PHP:

function nuevoAjax()

    
/* Crea el objeto AJAX. Esta funcion es generica para 

cualquier utilidad de este tipo, por
    lo que se puede copiar tal como esta aqui */
    
var xmlhttp=false
    try 
    { 
        
// Creacion del objeto AJAX para navegadores no 

IE
        xmlhttp
=new ActiveXObject("Msxml2.XMLHTTP"); 
    }
    catch(
e)
    { 
        try
        { 
            
// Creacion del objet AJAX para IE 
            
xmlhttp=new 

ActiveXObject("Microsoft.XMLHTTP"); 
        } 
        catch(
E) { xmlhttp=false; }
    }
    if (!
xmlhttp && typeof XMLHttpRequest!='undefined') { 

xmlhttp=new XMLHttpRequest(); } 

    return 
xmlhttp


 var 
pos=screen.width;

function 
cargaDatos(){
 var 
pos=screen.width;

ajax=nuevoAjax();
        
ajax.open("GET"

"http://mexdata.com/resolucion.php?resolucion="+pos,true);
        
        
ajax.send(pos);

Tambien intente, en lugar de poner la variable poner el screen.width y tampoco

Realmente no se cual sea el problema, si alguien me ayuda a resolver el problema estoy dispuesto a regalarle algo de hosting que me sobra, porque realmente me intereza resolver el problema