Re: Acceder a la busqueda del google

From: Date: Thu, 06 Feb 2003 15:50:33 +0000
Subject: Re: Acceder a la busqueda del google
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-32063@lists.php.net to get a copy of this message
Hola, No se si te sirva el codigo que está en el archivo adjunto, es un TXT pero de ser lo que necesitas facilmente lo podrias poner en un PHP o HTML y adaptarlo a tus necesidades. Espero te sirva... Saludos!!! ~~~~~~~~~~~~~~~~~~~~~~~ Jose de Jesus Gutierrez E-mail: jjesusgm@yahoo.com.mx Sitio Web: http://mx.geocities.com/jjesusgm/ ~~~~~~~~~~~~~~~~~~~~~~~ ----- Original Message ----- From: "jordi juarez" <jjuarez@pip.udl.es> To: "lista php" <lista@phpes.com> Sent: Thursday, February 06, 2003 2:44 AM Subject: [PHP-ES] Acceder a la busqueda del google > Buenas a ver otro problema que tengo > quiero tener un sistema que me busque cosas en el google que la gente me > pone en una caja de texto > la idea ya esta echa concatenando la busqueda a la cadena del google > pero el problema lo tengo en como redireccionar el php a la cadena de > busqueda del google > > http://www.google.com/search?q=pepe&hl=es&btnG=Búsqueda%20Google > En los archivos solo hay soluciones del tipo header que no me vale pq se > tiene que evaluar el script antes de hacer > el header y cosas en javascript y no me convencen. > Alguna idea > Gracias por adelantado. > > > > --------------------------------------------------------------------- > Archivo On-line: http://www.phpes.com/ > via news: news://news.phpes.com/ > Manual PHP en español: http://www.php.net/manual/es/ > Para dar de baja la suscripción, mande un mensaje a: > lista-unsubscribe@phpes.com

<html> <head> <meta HTTP-EQUIV="content-type" CONTENT="text/html; charset=ISO-8859-1"> <title>Búsqueda en Google: carro </title> </head> <body bgcolor=#ffffff onLoad="document.gs.reset()"> <table border=0 cellpadding=0 cellspacing=0> <tr> <td rowspan=3 valign=top> <table cellpadding=0 cellspacing=0 border=0> <tr> <td align=right valign=bottom><a href=http://www.google.com><img src=http://www.google.com/images/res0.gif alt="Vaya a la página principal de Google" border=0 width=110 height=58></a></td> <td valign=bottom><a href=http://www.google.com><img src=http://www.google.com/images/res1.gif border=0 width=38 height=58 alt=""></a></td> <td valign=bottom><a href=http://www.google.com><img src=http://www.google.com/images/res2.gif border=0 width=52 height=58 alt=""></a></td> </tr> <tr> <td align=right valign=top class=h><b>&nbsp;</b></td> <td valign=top><a href=http://www.google.com><img src=http://www.google.com/images/res3.gif border=0 width=38 height=20 alt=""></a></td> <td valign=top><font color=#6f6f6f style=font-size:14px>&nbsp;</font></td> </tr> </table> </td> <td nowrap> <font size=-1> <a href=/advanced_search?q=carro&hl=es&lr=&ie=UTF-8>Búsqueda Avanzada</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href=/preferences?q=carro&hl=es&lr=&ie=UTF-8>Preferencias</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href=/language_tools?q=carro&hl=es&lr=&ie=UTF-8>Herramientas del idioma</a>&nbsp;&nbsp;&nbsp;&nbsp; <a href=/intl/es/help.html>Sugerencias de Búsqueda</a> </font> </td> </tr> <tr> <td valign=middle> <form name=gs method=GET action=http://www.google.com/search> <input type=hidden name=hl value="es"> <input type=hidden name=ie value="ISO-8859-1"> <input type=text name=q size=31 maxlength=2048 value=""> <font size=-1><input type=submit name="btnG" value="Búsqueda en Google"></font> </td> </tr> <tr> <td><font size=-1><input type=radio name=lr value="" checked>Buscar en la Web <input type=radio name=lr value=lang_es >Buscar sólo páginas en español&nbsp;</font></td> </tr> </form> </table> </body> </html>
« previous php.general.es (#32063) next »