/[dolibarr]/dolibarr/htdocs/telephonie/script/commande_presel.php
ViewVC logotype

Diff of /dolibarr/htdocs/telephonie/script/commande_presel.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by rodolphe, Wed Nov 2 09:01:17 2005 UTC revision 1.4 by rodolphe, Wed Nov 2 09:04:06 2005 UTC
# Line 143  function CreatePreselection($host, $user Line 143  function CreatePreselection($host, $user
143    $url .= "&okPreselection=true";    $url .= "&okPreselection=true";
144    
145    if ($verbose > 2)    if ($verbose > 2)
146        dolibarr_syslog("$host");
147    
148      if ($verbose > 2)
149      dolibarr_syslog("$url");      dolibarr_syslog("$url");
150    
151    $fp = fsockopen($host, 80, $errno, $errstr, 30);    $fp = fsockopen($host, 80, $errno, $errstr, 30);
# Line 152  function CreatePreselection($host, $user Line 155  function CreatePreselection($host, $user
155      }      }
156    else    else
157      {      {
158          if ($verbose > 2)
159            dolibarr_syslog("Socket Opened send data");
160    
161        $out = "GET $url HTTP/1.1\r\n";        $out = "GET $url HTTP/1.1\r\n";
162        $out .= "Host: $host\r\n";        $out .= "Host: $host\r\n";
163        $out .= "Connection: Close\r\n\r\n";        $out .= "Connection: Close\r\n\r\n";

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26