homepage Welcome to WebmasterWorld Guest from 54.237.134.62
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Executing PHP in PERL
How do I do this?
Komodo_Tale




msg:3241432
 1:38 am on Feb 3, 2007 (gmt 0)

Can PHP be executed within a web document created by a PERL CGI script?

How does one accomplish this?
Can anyone provide a checklist?

Thanks

 

sabai




msg:3241461
 2:18 am on Feb 3, 2007 (gmt 0)

edit reason - sorry misunderstood question

mcavic




msg:3241606
 8:04 am on Feb 3, 2007 (gmt 0)

The answer is yes, but more details are needed.

If you want a Perl script to execute a PHP script that's on the same server, then you can call it using the system() function, or something similar.

If they're on different servers, then the Perl code needs to hit the URL of the PHP script and print the output.

Or if you mean can a Web *document* execute a PHP script, regardless of whether or not it was generated by Perl, then you can use any method that will let you include an external URL, like <iframe>.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved