[thelist] PHP and PERL

Jay Fitzgerald jayfitz at bayou.com
Thu Dec 7 10:36:36 CST 2000


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.

Anthony Baratta wrote:

> At 07:30 AM 12/7/2000, you wrote:
> >I have a .pl file that, when executed, writes out template pages. I also
> >have some PHP authentication code that needs to be placed inside of this
> >PL file. Does this make sense and is it possible? I can zip up the pl
> >file off-list if anyone wishes to assist...Thx...
>
> Are you trying to execute the authentication code from within the Pelr
> script or trying to embed the PHP code in your template via the perl script?
>
> Option one: compile the binary version of PHP and then use the system
> function to run the code through the interpreter and evaluate the output.
>
> Option two: just print the code into the template as you would hand code it.
> ----
> 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