Php 我在使用curl post的body标记中丢失了一个css背景图像
我在body标签中丢失了一个css背景图像,使用了curl post。它是这样设置的Php 我在使用curl post的body标记中丢失了一个css背景图像,php,html,css,curl,Php,Html,Css,Curl,我在body标签中丢失了一个css背景图像,使用了curl post。它是这样设置的 body { font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif; background-image: url(../Images/pattern4.png); // this one disappeared background-repeat: repeat-x; background-attachment: fixed;
body {
font: 100%/1.4 Verdana, Arial, Helvetica, sans-serif;
background-image: url(../Images/pattern4.png); // this one disappeared
background-repeat: repeat-x;
background-attachment: fixed;
margin: 0;
padding: 0;
color: #000;
}
卷曲柱是
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $endpoint);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $nvpStr);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_exec($ch);
curl_close($ch);
我希望它能自动解决,所以我继续使用curl在另一个请求中编码,我失去了在所有页面上滚动页面的能力。页面右侧的整个滚动条都消失了。我的代码是一个单类架构,所有Html都使用php显示
知道问题出在哪里吗
该网站是www.bestspot2shop.com
我对一个API进行了两次调用,我使用curl从一个站点获取信息并将其显示在我的站点上。第一次打电话时,我丢失了背景图片和旁边的滚动条。将鼠标悬停在左侧菜单上的ApitestPack上,然后单击其中一个Medical,Tests链接。你知道可能是什么问题吗?我有一个ssl证书,有时会干扰事情。背景图像的URL需要完全限定(http://),因为它需要指向原始服务器。您想做什么?