开发者

How I can turn PHP into .NET?

I'm trying to make a program that can turn something into something else.

I do not want to create a second file from the first. What I开发者_运维知识库 want is something that receives the request for a page to access the php file and after playing out as if it were an aspx file.

For example if the url requested http://www.address.com/phpexample/ run the index.php that is in that folder and then send the result to interpret the CLR for this show it as a file index.aspx

An engineer came to school and showed us his project that does just that. He said that we must first obtain a string representing the code and interpreted by php and send it to the net CLR to be shown as if it were an aspx file. I know it's possible to do because he did.

The problem is not how to get the chain or as you would to send it to the CLR. I've been reading a lot and still have not found something that gives me the slightest clue. It's for my final project programming. Please if I can give you all the information known in this topic will be eternally grateful.


I'm not sure this is what you're looking for (the question is kind of vague) but you can compile PHP to .NET using Phalanger.


what you want (i think) is a ReWrite rule in htaccess

look here for some tips

That will make it seem to the enduser that it is a aspx page, but in reality it will be php.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜