Tying together Perl and PHP [closed] - php

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have a large code base I've written in Perl for a web application. Recently, I've decided to use Braintree's payment system, but their Perl library is deprecated. I decided I'd have to write a new set of PHP scripts that duplicated quite a few user functions from my Perl code, which, obviously, is less than ideal. Then I came across PHP::Interface on CPAN and the PECL Perl extension for PHP, both of which promise to allow code from the one language to be interpreted in the other, exposing variables across the language divide, etc. Either would be a huge help, but both appear unmaintained and broken in modern environments. Is there some currently maintained way to either expose my Perl modules to PHP or some PHP functions into Perl?

Related

PHP vs Python For Web Crawler [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
i am planning to make web crawler which can crawl 200+ domain, which of the language will be suitable for it. I am quite familiar with PHP but an amateur at Python.
I have built crawlers in both languages. While I personally find it easy to make a crawler in python because of huge number of freely available libraries for html parsing, I would recommend that you go with the language you are most comfortable with. Build a well designed and efficient crawler in a language you know well and you will get even better at that language. There is no feature which can not be implemented in either of the two languages so just make a decision and start working.
Good luck.
You could just try both. Make one in php and one in python. It'll help you learn the language even if you're experienced. Never say no to opportunities to practice.

Programmatic creation of spss/.sav files [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
We are working on php application, and need to generate/export SPSS files for reporting section, it would be great if anybody can suggest about good API/codebase to start its development.
There is a free i/o module available from the SPSS Community website (www.ibm.com/developerworks/spssdevcentral) that provides apis for reading and writing sav files. It has a C compatible interface. It is licensed with the intention that you can freely incorporate and redistribute these modules in your application. The download includes modules for all major platforms. You have to register with the site in order to download, but there is no charge.
There is also a Python wrapper available from the ActiveState website (it uses the i/o modules) if you find that easier to work with.

Definitive matrix of $_SERVER values for different web server software out there? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm write PHP applications to distribute publicly, and am trying to ensure they run correctly on all popular web server software (IIS, Apache, NGINX, Lighttpd).
Does anybody know if someone has created definitive matrix of $_SERVER array items for each different popular server software package? Sounds like a good idea, and I just want to make sure that it hasn't been created already before I attempt to do so myself...
Not exactly the answer you are looking for, but rather a suggestion.
I would personally for the new approach for sniffing for abilites of the server, rather than the server itself. jQuery has deprecated browser support in favor of feature support, and I consider that it is neat way to make sure your program/script works on all supported platforms.
For PHP applications specifically, problems arise when php is loaded either as a module, cgi or fastcgi extension. You can simply create helper functions for getting server/environment parameters, headers etc. That should provide maximum compatibility on different servers for your application.

Fast and flexible PDF generator on *NIX system [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
We are building a LAMP application that also needs to generate loads of complex PDF reports.
I'm looking for a library that runs on our Debian server and allows us to generate these reports.
The language isn't of great importance (java, python, php, perl, ...) as long as it's stable, flexible and supports Unicode. LTR and RTL writing systems are mandatory and if chinese is also supported it would be totally awsome.
I've already found ReportLab which looks promising, any other suggestions?
JasperReports is a good bet for generating reports using Java.

asp to php translator [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I am looking for some asp to php translator.
I tried http://www.design215.com/toolbox/translator/ it is totally buggy.
please suggest me good think.
Thanks in advance.
There is no commercially available or open source product that will turn classic ASP pages into PHP.
I've heard of companies rolling their own ASP to PHP compiler internally, but it always relies on keeping yourself to a particular subset of each language and/or external features (PHP Extensions, ASP Components, etc.)
You will not find what you're looking for.
This is something else that I found:
http://asp2php.naken.cc/docs.php
Haven't tried it out. But translation is probably not a very robust solution.

Categories