Ver Mensaje Individual
  #14 (permalink)  
Antiguo 30/12/2014, 12:11
Avatar de enlinea777
enlinea777
 
Fecha de Ingreso: mayo-2008
Ubicación: frente al pc
Mensajes: 1.830
Antigüedad: 15 años, 11 meses
Puntos: 127
Respuesta: funcion get_headers

por que mosilla no es quien hace la peticion sino la libreria cURL de php.

probe tu codigo es esta funcionando bien
Código PHP:
<?php
  
  $var_mID 
'45343535353';
  
$var_mBody 'Hola que tal';
  
        
$handler curl_init();
        
curl_setopt($handlerCURLOPT_URL'http://pass.aplicacionesmonsan.net/Default.aspx');
        
curl_setopt($handlerCURLOPT_POSTTRUE);
    
curl_setopt($handlerCURLOPT_HEADERTRUE);
      
curl_setopt($handlerCURLOPT_POSTFIELDS'usr=rafa&pwd=777777&mID=$var_mID&mBody=$var_mBody');
          
curl_setopt$handlerCURLOPT_RETURNTRANSFERTRUE );
    
      
$response curl_exec($handler);
    
print_r('----'.$response);
    
      
curl_close($handler);
?>
obtengo esta cabecera:

HTTP/1.1 200 OK Cache-Control: private Content-Type: text/html; charset=utf-8 Server: Microsoft-IIS/8.5 X-AspNet-Version: 4.0.30319 X-Powered-By: ASP.NET Date: Tue, 30 Dec 2014 18:14:27 GMT Content-Length: 3 103