[thelist] RE: PHP Problem

Jeremy Ashcraft ashcraft at 13monkeys.com
Fri Nov 17 09:39:18 CST 2000


A nice feature of the include function is that it can grab URLs as well.  I
had a similar problem with including a perl script from within a PHP.  Just
pass the entire URL to the include function and it will make a normal
request to the webserver:

include("http://www.yourdomain.com/cgi-bin/script.pl");

should do the trick.  HTH

jeremy


----- Original Message -----
From: "Jay Fitzgerald" <jayfitz at bayou.com>
To: <thelist at lists.evolt.org>
Sent: Friday, November 17, 2000 8:00 AM
Subject: [thelist] RE: PHP Problem


> Thanks Oliver, for the tip....I wanted to try a simpler method first, so
> a shout of many thanks goes out to Stef....It worked tremendously! I
> just thought of another similar problem though...A couple of my
> "include"s actually execute a Perl script...now that I know how to
> include into PHP, how can I tell that include to execute a script?
>
> Thanks
>
> --
> Jay Fitzgerald - Web Development/Sales
> =============================================
> Bayou Internet
> http://www.bayou.com
> Mississippi Internet
> http://www.mississippi.net
> Vicksburg Online
> http://www.vicksburg.com
> Bama Online
> http://www.bamaonline.net
> =============================================
> ICQ: 38823829      Phone: 888-302-2968       Fax: 877-329-2296
>
>
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !
>





More information about the thelist mailing list