Perl integration

Discuss phpwcms here, please do not post support requests, bug reports, or feature requests! Non-phpwcms questions, discussion goes in General Chat!
Post Reply
cet
Posts: 25
Joined: Sun 7. Dec 2003, 14:58
Location: Garmisch-Partenkirchen

Perl integration

Post by cet »

Hello,

I have a perl script :oops: running on my server that needs to be integrated with the cms. Does anyone have some hints on how to handle that?
Es ist unmöglich, Staub aufzuwirbeln, ohne dass einige Leute husten!
Erwin Piscator
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

perl integration

Post by ionrock »

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 ;)
cet
Posts: 25
Joined: Sun 7. Dec 2003, 14:58
Location: Garmisch-Partenkirchen

Post by cet »

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.
Es ist unmöglich, Staub aufzuwirbeln, ohne dass einige Leute husten!
Erwin Piscator
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

Post by cguenther »

Is it needed to implement the old perl-script ?

I know, that there are also PHP-scripts for checking whois. And a domainordering should be also no problem.
cet
Posts: 25
Joined: Sun 7. Dec 2003, 14:58
Location: Garmisch-Partenkirchen

Post by cet »

It is not absolutely needed to use this script, but it integrates both - whois and ordering. I know that there are several whois scripts written in PHP, but I did not find one which contains all neccessary features.
Es ist unmöglich, Staub aufzuwirbeln, ohne dass einige Leute husten!
Erwin Piscator
cguenther
Posts: 111
Joined: Sun 11. Jan 2004, 12:41
Location: Halle, Germany
Contact:

Post by cguenther »

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.
ionrock
Posts: 279
Joined: Fri 20. Feb 2004, 17:04

Post by ionrock »

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.
Post Reply