[thelist] PHP and PERL

Jay Fitzgerald jayfitz at bayou.com
Thu Dec 7 11:50:09 CST 2000


Actually, it doesn't. I may be phrasing my question wrong...



Anthony Baratta wrote:

> At 08:37 AM 12/7/2000, you wrote:
> >Whenever the script is ran, it needs to first execute the PHP authentication,
> >then - if they are a valid user, continues the regular execution of the
> >script,
> >thus writing all of the necessary template files with the authentication code.
>
> I hate to be a dork....but it seems your tip offered with the question
> solves your problem:
>
> .. TIP ..
> To execute an included CGI script from within a PHP file, insert code
> such as the following:
>
> <? virtual('/cgi-bin/foo.pl'); ?>
>
> .. /TIP ..
>
> Add the authorization to this page and if the authorization passes, execute
> the perl script. I would put the authorization code in an include file,
> that way the perl script only has to write the include line and you only
> have to change one file to update all files.
>
> ----
> Anthony Baratta
> President
> Keyboard Jockeys
>
> ---------------------------------------
> For unsubscribe and other options, including
> the Tip Harvester and archive of TheList go to:
> http://lists.evolt.org Workers of the Web, evolt !

--
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






More information about the thelist mailing list