Đang Thực Hiện

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

Kỹ năng: .NET, Bất kì công việc gì, Lập trình C, PHP

Xem thêm: 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, c programming function, command line programming, c for int, php integration net, integration php net

Về Bên Thuê:
( 9 nhận xét )

Mã Dự Án: #1889767