Changeset 265

Show
Ignore:
Timestamp:
06/25/06 05:04:45 (3 years ago)
Author:
thomasb
Message:

Fixed GoogieSpell? checker

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/roundcubemail/program/steps/mail/spell.inc

    r214 r265  
    2525$REMOTE_REQUEST = TRUE; 
    2626 
    27 $google = "www.google.com"; 
     27$google = "ssl://www.google.com"; 
     28$port = 443; 
    2829$lang = $_GET['lang']; 
    2930$path = "/tbproxy/spell?lang=$lang"; 
     
    3132$store = ""; 
    3233 
    33 if ($fp = fsockopen($google, 80, $errno, $errstr, 30)) 
     34if ($fp = fsockopen($google, $port, $errno, $errstr, 30)) 
    3435  { 
    3536  $out = "POST $path HTTP/1.0\r\n"; 
     
    4041  $out .= $data; 
    4142  fwrite($fp, $out); 
     43   
    4244  while (!feof($fp)) 
    4345    $store .= fgets($fp, 128);