Hello,
I have a perl script running on my server that needs to be integrated with the cms. Does anyone have some hints on how to handle that?
Perl integration
Perl integration
Es ist unmöglich, Staub aufzuwirbeln, ohne dass einige Leute husten!
Erwin Piscator
Erwin Piscator
perl integration
What does the perl script do? you can include a php file which could simply call up the perl script. That would be an easy way to implement it if you are just looking for a quick and easy kind of integration. If you wanted to add something more robust then you could probably add it as a module (/include/inc_module/ for an example) or something else depending on the purpose. A little more info would help us help you
The script has two functions. It is a whois script and also a domain order system. I am sorry that I can not poste the code, because it is not under GPL, but you can find it here:http://www.amensa-soft.de.
As it interacts a lot with the user, it would be better to integrate it as a module, if it is possible.
As it interacts a lot with the user, it would be better to integrate it as a module, if it is possible.
Es ist unmöglich, Staub aufzuwirbeln, ohne dass einige Leute husten!
Erwin Piscator
Erwin Piscator
so ok .. can you give me a hint, how it should work?
I saw on your page, that you are having at mom one form your getting all the customer data and there is included the "Zieldomain".
It would be possible to include also whois and ordering in one php-script. One thing more to know, how your ordering-system is working. DB-based or just with sending emails to you.
I saw on your page, that you are having at mom one form your getting all the customer data and there is included the "Zieldomain".
It would be possible to include also whois and ordering in one php-script. One thing more to know, how your ordering-system is working. DB-based or just with sending emails to you.
I would need to know a little more about the perl script as well and since they used a bunch of images for text (ugh) I couldn't get a good idea of how it all works.
In any sense I would just {PHP:myphpfile.php} with a page there that works how they say the script should work (ie Use whatever scripts they tell you to use). You should be able to submit back to the same page or cgi script easily enough ($_REQUEST['URI'] I think is one method for submitting to the same page when you don't know what the url will be for sure). I would be happy to help so if you get a page going that works with the script you can send post it and we can try and get it integrated. I hope this helps and please keep track of what you do so you can possibly write about it later to help others.
In any sense I would just {PHP:myphpfile.php} with a page there that works how they say the script should work (ie Use whatever scripts they tell you to use). You should be able to submit back to the same page or cgi script easily enough ($_REQUEST['URI'] I think is one method for submitting to the same page when you don't know what the url will be for sure). I would be happy to help so if you get a page going that works with the script you can send post it and we can try and get it integrated. I hope this helps and please keep track of what you do so you can possibly write about it later to help others.