Ver Mensaje Individual
  #6 (permalink)  
Antiguo 04/01/2009, 18:41
ynakasone
(Desactivado)
 
Fecha de Ingreso: abril-2007
Mensajes: 18
Antigüedad: 17 años
Puntos: 0
Respuesta: Ayuda con Googiespell

Hola yo ya logre poner el corrector ortografico en mi web sin problemas:

http://www.niponcomputer.com/ortografia.php

solo que tube que poner el archivo sendReq3.php que contiene:

<?php
// Thanks to:
// Marcin 'nosferathoo' Puchalski
// Johan Sijbesma
// James Edgington
// Stephen Wald
$google = "www.google.com";
$lang=$_GET['lang'];
$path="/tbproxy/spell?lang=$lang";
$data = file_get_contents('php://input');
$store = "";
$fp = fsockopen("ssl://".$google, 443, $errno, $errstr, 30);
if ($fp)
{
$out = "POST $path HTTP/1.1\r\n";
$out .= "Host: $google\r\n";
$out .= "Content-Length: " . strlen($data) . "\r\n";
$out .= "Content-type: application/x-www-form-urlencoded\r\n";
$out .= "Connection: Close\r\n\r\n";
$out .= $data;
fwrite($fp, $out);
while (!feof($fp)) {
$store .= fgets($fp, 128);
}
fclose($fp);
}
print $store;
?>

Saludos