Can I include a PHP file in an SHTML file and store the result in a SHTML variable?

前端 未结 4 646
暖寄归人
暖寄归人 2021-01-26 04:12

I want to include a PHP file in an SHTML file and store the result in a SHTML variable and include different things depending on the result.

Example:
Assume the PHP

4条回答
  •  独厮守ぢ
    2021-01-26 04:51

    The answer seems to be NO.

    NOTE: It should probably be implemented solely using PHP and a server directive to treat .shtml files as PHP.

提交回复
热议问题