sedang Berlangsung

143591 PHP integration in c# .NET

I want a DLL created using c# .net VS 2005 that contains a callable version of PHP (PHP source for windows is available from [url removed, login to view]). I want two methids exposed as follows

1) int RunPHPScript(string ScriptFileName) - this will take one parameter (the name of a correctly formed PHP script file) it will run the php script as if it were a normal windows command writing any output to stdout and stderr (there is no input required!) when complete return an error code 0 if non encountered.

2) int RunPHPCode(string PHPScript) - this is essentially the same as the function above except that the php code executed is not in a file but contained in the passed variable (PHPScript)

I want PHP the compiled PHP DLL to be useable from any C# .net project and it must have the same behaviour as normal lastest version of PHP - meaning it must read [url removed, login to view] [url removed, login to view] etc as a normal invokation from the command line or the ISAPI filter would do.

Please contact me if you need further info

Keahlian: .NET, Apapun Jadi, Pemrograman C, PHP

Lihat lebih lanjut: php integration, writing to a file in c, writing programming in c++, variable programming, variable in programming, string in c programming, string c programming, programming variable, programming using c++, programming using c#, programming org, programming meaning, php code contact, pear programming, or in c programming, meaning in writing, function in programming, c string programming, c programming string, c programming input output

Tentang Pemberi kerja:
( 9 ulasan )

ID Proyek: #1889767