简体   繁体   中英

Is it possible to us .ascx in PHP natively?

I have a webserver that runs asp.net and php. I have various .ascx controls that I need to use on the php side. Is there a way to use these controls in php natively? Or do I need to rewrite them in php?

PHP cannot run ASP.NET code*. You will need to rewrite your controls in PHP.

*: At least, not in any sensible, performant way.

你不能在php页面上使用它们直接但是如果你将它们封装在一个或多个aspx页面上,它可以工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM