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?
LVL 1
sfun28Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dave BaldwinFixer of ProblemsCommented:
PHP Compiler, new version at http://phalanger.codeplex.com/ .
0
sfun28Author Commented:
Doesn't this require IIS/Apache?
0
Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.