Call PHP function from url?

前端 未结 14 1628
清歌不尽
清歌不尽 2020-12-04 15:50

If I want to execute a php script, i just point the browser to www.something.com/myscript.php

But if i want to execute a specific function inside

14条回答
  •  悲&欢浪女
    2020-12-04 16:34

    You cannot do this without adding special code to the PHP file itself to grab the name of the function from the URL and invoking it.

提交回复
热议问题