RE: [PHP-ES] Include

From: Date: Mon, 05 Apr 2004 17:31:22 +0000
Subject: RE: [PHP-ES] Include
References: 1  Groups: php.general.es 
Request: Send a blank email to general-es+get-47465@lists.php.net to get a copy of this message
Moltes gracies Xavi!! Funciona con la URL completa, yo ponía sólo el path del directorio. Gracias también a Ivan. > -----Mensaje original----- > De: Xavier Serna [mailto:xserna@justedit.es] > Enviado el: lunes, 05 de abril de 2004 16:14 > Para: php-es@lists.php.net > Asunto: Re: [PHP-ES] Include > > Si el CGI está en un webserver accesible... bastaria con: > > > include("http://www.servidorweb.com/folder/gen.cgi?template=ss > i.html"); > > eso si, en el PHP.ini tienen que estar activados los "URL > fopen wrappers" > segun dice el manual... > > saludos > Xavi > > > ----- Original Message ----- > From: "Ivan Rodriguez" <epplestun@alaplaya.com> > To: "227722" <227722@terra.es>; <php-es@lists.php.net> > Sent: Monday, April 05, 2004 14:38 > Subject: Re: [PHP-ES] Include > > > > el cgi ese es tuyo? solo por curiosidad .... por que si lo > que quieres es > > ejecutar un cgi en un PHP andas algo jodido jeje aunque igual tienes > alguna > > extension que lo haga similar a la de Perl o Python > > ----- Original Message ----- > > From: "227722" <227722@terra.es> > > To: <php-es@lists.php.net> > > Sent: Monday, April 05, 2004 2:32 PM > > Subject: RE: [PHP-ES] Include > > > > > > > Si he enviado el mensaje es porque no funciona... Y tampoco genera > ningún > > > tipo de error, al revisar el código de la página en el > navegador aparece > > tal > > > cual: > > > > > > <!--#include virtual="/folder/gen.cgi?template=ssi.html"--> > > > > > > Incluir sólo el archivo ssi.html no me sirve de nada debe estar > procesado > > > por el cgi. > > > > > > Alguna solución? > > > > > > > -----Mensaje original----- > > > > De: Ivan Rodriguez [mailto:epplestun@alaplaya.com] > > > > Enviado el: lunes, 05 de abril de 2004 12:59 > > > > Para: 227722; php-es@lists.php.net > > > > Asunto: Re: [PHP-ES] Include > > > > > > > > Eso no es HTML?¿ pos .... echo '<!--#include > > > > virtual="/folder/gen.cgi?template=ssi.html"-->'; y sino > > > > include("ssi.html"); > > > > > > > > Iván Rodriguez Espada > > > > _________________________ > > > > ALAPLAYA.COM > > > > http://www.alaplaya.com > > > > epplestun@alaplaya.com > > > > > > > > ----- Original Message ----- > > > > From: "227722" <227722@terra.es> > > > > To: <php-es@lists.php.net> > > > > Sent: Monday, April 05, 2004 12:25 PM > > > > Subject: [PHP-ES] Include > > > > > > > > > > > > > Hola gente, > > > > > > > > > > ¿Alguien sabe cómo puedo integrar el siguiente include (de > > > > un archivo > > > > .shtm) > > > > > en un archivo .php? > > > > > > > > > > <!--#include virtual="/folder/gen.cgi?template=ssi.html"--> > > > > > > > > > > -- > > > > > PHP Spanish Localization Talk Mailing List > (http://www.php.net/) To > > > > > unsubscribe, visit: > > > > > http://www.php.net/unsub.php > > > > > > > > > > > > > -- > > > > PHP Spanish Localization Talk Mailing List > > > > (http://www.php.net/) To unsubscribe, visit: > > > > http://www.php.net/unsub.php > > > > > > > > > > -- > > > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > -- > > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > -- > PHP Spanish Localization Talk Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general.es (#47465) next »