Hi,
I want to search a particular word from a string
here is it
$str="<a href"
is there any way to find this link embedded in the string .... and if found it must echo "found.....................
Hi,
I want to search a particular word from a string
here is it
$str="<a href"
is there any way to find this link embedded in the string .... and if found it must echo "found.....................
<h1>Img src</h1>
<?php
$content= 'www.example.com';//curl this site using curl function
$doc6 = new DOMDocument();
@$doc6->loadHTML($content);
$list = $doc6->getElementsByTagName("img");
for ($i = 0; $i < $list->length; $i++) {
print($list->item($i)->nodeValue . "<br/>\n");
}
?>
or contact this site
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.