MonkPaul, I don't think you can. That's a wimpy answer, but I have struggled with this for a while. Here's the deal: I wrote a content manager based in Perl. However, I wanted to use this great wysiwyg text editor written in PHP. It would have been so easy to be able to call the editor from my Perl for the purposes of passing data, but I couldn't figure out a way to do it. I eventually had to learn enough PHP to tap the database for a session id that I write to MySQL on the Perl side so the PHP can then grab all the associated data.

Going the other way, from the text editor to the Perl was easy, as I could just call the Perl from the form action.

I thought I had asked about all this here at PMs, but I can't find it. However, at the time I was asking, here or in other forums, the answers came back negative. I wrote the author of the PHP editor and he said there was no way to bridge the gap--amazingly. I thought the fact the Perl and PHP are related would mean a simple connection between two programs written in both.

I've solved the problem for myself, but will watch this thread to see what others might have to say.


—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

In reply to Re: Running PHP by bradcathey
in thread Running PHP by MonkPaul

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.