我的基本WordPress插件检查referrer并设置会话数据(比如关联到referrer域的电话号码)。它在我的本地服务器上工作得很好,但甚至不能在生产服务器上调用(我没有权限访问它,并且安装了许多其他插件)// loads config and sets session vars depending on referrer domainadd_action("init", "aw_refer_init", 1);
// used in temp
是否有可能将PHP代码包含在另一台计算机上的单独文件中。如果是这样的话,是怎么做的?Code which needs to be run on Host 1 which will manipulate $username and $password
显然,我不能将主机2上的脚本存储在.php文件中,因为当它被读取时,什么都不会打印出来……但这是可能的吗?