程序不执行$run = new $mod();就不执行啦!是什么原因解决方案
Jun 13, 2016 pm 01:44 PM
程序不执行$run = new $mod();就不执行啦!是什么原因
$mod = isset($_GET['m']) ? ucfirst($_GET['m']) : 'Index'; //默认加载Index 函数isset ucfirst() 首字母大写
$mod .= "Action";
$run = new $mod();
$run->run();
------解决方案--------------------
$run = new $mod();
$run->run();
new mod();

Hot Article

Hot tools Tags

Hot Article

Hot Article Tags

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

How to uninstall/delete MOD in OpenIV

Cyberpunk 2077 sees up to a 40% performance boost with new optimized path tracing mod

Rabbit R1 gets modded to run games, performs better than expected

DIY Asus ROG Ally mod nearly doubles the battery capacity without leaving anything exposed

'Phantom Beast Parlu' exceeded 1.58 million online at the same time! 'Pokémon' MOD is here!

Use MySQL's MOD function to find the remainder of the modular operation
