Is this a good idea and, if so, how do I do it? (as currently it does not work on our server)
Announcement
Collapse
No announcement yet.
Running PHP through the cgi-bin/pl files
Collapse
X
-
This all depends on the job you would like to achieve. Also it's not very clear what integration you would like to use. There are a few options like
- Embed PHP into perl (e.g. by using http://search.cpan.org/~karasik/PHP-0.11/PHP.pm)
- Execute PHP by using the backticks operator or exec command
- Implement a PHP service and do a server to server call
And there are lot more I believe. It really all depends on the task.
I hope this helps
-
Zoltan,
Thanks for that. I am rendering all our pages as PHP (via .htaccess) and including a php script on the page. This work fine on the normal html pages but when you enter the cgi-bin it just spews out the raw PHP code. Will any of your suggestions be suitable (not that I am sure I understand them)
Comment
Comment