Dedecms's Dededown class gets the function of the remote picture as follows, it is valid to pass the past when the call is made, but the following two sentences are found to be null and unable to get the workaround
Source: Internet
Author: User
Dedecms of the Dededown class to get the remote picture of the function as follows, the call passed the past is also valid, but found that the following two calls null cannot be obtained
Dedecms of the Dededown class to get the remote picture of the function as follows, when the call passed the past is also valid, but found the following two sentences for
Empty, unable to get
The function to get the remote picture is used as follows, but it is valid to pass the past when it is called, but the following two sentences are found to be empty, unable to get
$HTD->openurl ($url);
$HTD->gethead ("Content-type")
The above 2-sentence call is empty.
function Getremoteimage ($url, $rndtrueName)
{
echo $url; [Img]http://www.golffactorystore.com/images/200910/goods_img/599_p_1255757135855.jpg[/img]
$revalues = Array ();
$ok = false;
$HTD = new Dedehttpdown ();
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service