[roch-pm] [Fwd: perl using php headers]

Brian Mathis bmathis at directedge.com
Sun Apr 15 04:32:43 CDT 2001


-----BEGIN PGP SIGNED MESSAGE-----

 > -------- Original Message --------
 > Hey perl guru's
 >
 > I have all these little perl programs written, using a header and
 > footer.cgi calls... I've just taken on a new website, and they have php
 > header and footers.
 >
 > Is there a way for me to include those in my perl files? I was thinking
 > some kind of exec command maybe? I cant find any reference anywhere on
 > either perl.com or php.net
 >
 > Your thoughts?
 > Thanks!
 > -Bryan



Hmm, I don't know much about PHP, but there's probably some method in PHP
to make an http request act like an include. You could just make the http
request to the CGI scripts, and now you've got your header and footers.

Probably not the best answer, but maybe the quickest one.

- --
Brian Mathis
Direct Edge
http://www.directedge.com


-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0.3

iQEVAwUBOtlqubGo2cj8O3o1AQFRbwf7B35n+GSEE1t18J+yuPLChv9UfiaIUKUD
vXJrxMpUVe2uvJbTMCS2uyvHYDOVxexxupRUn7NmNMtTmM0J8thiDRY8f7dWSsgL
SahV7+eCk2dv7+mvN+mTs4Xaa5zXsH7PXiQDSuBsXSwrQIwBYEPTfKauFbTeXyLb
UY1Gqw8anFH10xOj3S0HjDJyqgm0oivtWsFNymdGWO/y2R3hzyL2ELOvw7GCp+r7
U9ZEcg4SPtBqu9w8TqlvxXHjVG/txG6HFzDKdOkN2PJ4lIX/6NZ9BRLSkTENNx8s
Rce/a9+AIGk0V2ga+zW6nzUtmOKbvB2ouS1BIIEhlMEoEmvsDf3Xng==
=LRZE
-----END PGP SIGNATURE-----

--
For information on unsubscribing from this list, please visit
http://rochester.pm.org



More information about the Rochester-pm mailing list