Đ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 file, variable programming, programming variable, programming org, programming meaning, php code contact, pear programming, function programming, string programming, programming string, programming input output, programming function, command line programming, php integration net, integration php net, programming php, php writing, php command, pear, isapi, php pear source code, run php command, windows file filter, command line parameter

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

Mã Dự Án: #1889767