[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 392
  • Last Modified:

PHP to something consumable by .net win app (no web server)

Folks,

I have a php file.  Essentially it takes two posted string inputs, does some transformations, and spits out a string output.  The logical is quite complicated and not something I can rewrite from scratch.

Is there a way to convert the php code into something consumable by a .net app (NO IIS/web server - I just want to convert the code into a method, or a dll - .net or COM, or anything really that allows me to run the logic without having to host anything)

does such a converter exist?
0
sfun28
Asked:
sfun28
  • 2
  • 2
  • 2
2 Solutions
 
RimvisCommented:
Hello sfun28,

Take a look:


Phalanger
The PHP Language Compiler for the .NET Framework
http://www.php-compiler.net/doku.php?id=core%3afeatures

Regards,

Rimvis
0
 
Dave BaldwinFixer of ProblemsCommented:
PHP Compiler, new version at http://phalanger.codeplex.com/ .
0
 
sfun28Author Commented:
Doesn't this require IIS/Apache?
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
RimvisCommented:
As I understand, it requires IIS for web applications only. It's not required for class libraries or executables.
0
 
Dave BaldwinFixer of ProblemsCommented:
PHP programs can be run as command line apps.  I do that with a couple of programs just because it's very easy.  .NET is not just for web apps either.
0
 
sfun28Author Commented:
Thanks!
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now