我遇到有关 PHP cURL 的问题。实际上我通过PHP cURL命令发送HTTP头。它在Localhost(Xampp)上工作正常但是当我在托管服务器(ehost.com)上传相同的代码时,它无法正常工作。此外,我已经在托管服务器上检查cURL是否在那里启用。我检查了import turtle
image = "C:/Python27/Pythonprogramming/image.png"
screen = turtle.Screen()
screen.addshape(image)
turtle.shape(image)
turtle.mainloop()
,它显示cURL是ENABLE。
下面是我的代码:
<?php phpinfo() ?>
任何想法或建议都会得到赞赏。