禁用Ajax / http成功消息?

时间:2013-08-05 18:31:36

标签: php javascript jquery ajax

Here is the code

成功执行此代码后,

 $homepage = @file_get_contents("http://$cpuser:$cppass@$cpdomain:2082/frontend/$cpskin/mail/doaddpop.html?email=$emailname&domain=$emaildomain&password=$emailpass&quota=$quota");
echo $homepage;

这将显示在屏幕上,并阻止页面运行任何其他代码。

enter image description here

如果我拿出 echo $主页,则 $ homepage 不会被执行且无效。

如何禁止显示该消息?我只是希望它能在不告诉我完成的情况下完成它的工作。有什么样的 error_reporting(0); 就像我可以使用的PHP一样吗?虽然这不是一个错误。

感谢任何帮助,谢谢! 对不起我的上一篇文章,如果需要帮助,我应该提供更多信息。我阅读了帮助部分,希望这对我来说有足够的信息可以得到一些帮助。谢谢!

1 个答案:

答案 0 :(得分:0)

使用cURL,这个问题的答案(使用cURL)是这个问题:stackoverflow.com/a/13692440/1352271

相关问题