Before you go off and start screaming heathen please hear me out.

I'm doing a freelance job for an isp thats just starting up. The application I'm creating is in mod_perl, but his control panel is in PHP. The thought of having to deal with a server that has both PHP and mod_perl compiled in it or as a DSO is disturbing. Don't get me wrong. I'm not against PHP.

I had created a module that is a subclass of Apache::Cookie which uses Crypt::Blowfish to automaticaly encrypt -value as it goes in, and decrypt it as it comes out just like Apache::Cookie does with unencrypted cookies (you get what I'm saying). So what does this have to do with PHP? Well he wants to use the module for authentication for the control panel. What I need to know is that is it possible for a mod_perl/Perl script to communicate or send data to a PHP script like a single variable or more?

Thank you for sharing your knowlege and I pray for forgiveness if this is not the right forum to ask this humble question.

Your humble newbie brother,
BMaximus

sidenote: Surprisingly the module passes taint checks.

In reply to mod_perl and PHP by BMaximus

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.