我尝试在发送jquery post之后调用db_update(),所以我需要包含drupal_bootstrap才能使用Drupal函数,以下是我的代码:if (!MyModuleAjax.js var pathUrl="path/to/includes/MyModuleAPI.php"set server resp "+response);
我必须向远程服务器发送GET请求,以便使用PHP获取一些JSON数据。但我收到警报窗口有错误:Failed to load resource: the server responded with a status of 404 (Not Found)
l.php:22Uncaught ReferenceError: v