Page 1 of 1

Converting PHP to PERL

Posted: Wed Aug 20, 2008 4:40 am
by lynchpin
Hi

I have a problem with my client, I designed a set of dynamic pages(with php5) for them, only to find out that, they have a webhosting contract with another client. And the webhosting server only supports PERL as a scripting language.

Is there any tool for converting PHP to PERL or an easy way round this problem?

Thanks for any help.

Re: Converting PHP to PERL

Posted: Wed Aug 20, 2008 4:54 am
by onion2k
Tell the host to install PHP. Problem solved. There really isn't any good reason not to.

Re: Converting PHP to PERL

Posted: Wed Aug 20, 2008 6:42 am
by lynchpin
I told them that but it seems they wont burge.

Thanks for the reply anyway.

Re: Converting PHP to PERL

Posted: Wed Aug 20, 2008 7:54 am
by hairytea
tell them to change hosts then.

If they can't even provide support for php they must be cowboys lol.

Re: Converting PHP to PERL

Posted: Wed Aug 20, 2008 8:34 am
by onion2k
If the host won't install PHP then you're pretty much done for. You can't really convert the code to Perl in any sort of automated way, and the two languages are different enough to make porting the code tricky if you don't know them both pretty well. An expert could certainly do it, but that would cost quite a lot.

Re: Converting PHP to PERL

Posted: Wed Aug 20, 2008 8:52 am
by lynchpin
Thanks alot guyz, the client has finally agreed to change hosts, I dropped the security mombo jombo on them. :)