hi,
i write the below code to capture the images from the website when i submit the url.In the same way i want to capture the Text information from the website.plz tell that whats the code for that.plz help me.
[php]
<?php
$content= file_get_conten ts($url);
preg_match_all( "/<img(.*)src=(\" |')(.*)(\"|\')( .*)[\/]?>/siU", $content, $match, PREG_PATTERN_OR DER);
echo "<b>Capture Images :</b><br>";
echo "<br>";
print_r($match[0]);
echo "<br>";
echo "<br>";
echo "<b>Capture Images URLS :</b><br><br>";
preg_match_all( "/<img(.*)src=(\" |')(.*)(\"|\')( .*)[\/]?>/siU", $content, $match, PREG_PATTERN_OR DER);
print_r($match[3]);
[/php]
i write the below code to capture the images from the website when i submit the url.In the same way i want to capture the Text information from the website.plz tell that whats the code for that.plz help me.
[php]
<?php
$content= file_get_conten ts($url);
preg_match_all( "/<img(.*)src=(\" |')(.*)(\"|\')( .*)[\/]?>/siU", $content, $match, PREG_PATTERN_OR DER);
echo "<b>Capture Images :</b><br>";
echo "<br>";
print_r($match[0]);
echo "<br>";
echo "<br>";
echo "<b>Capture Images URLS :</b><br><br>";
preg_match_all( "/<img(.*)src=(\" |')(.*)(\"|\')( .*)[\/]?>/siU", $content, $match, PREG_PATTERN_OR DER);
print_r($match[3]);
[/php]
Comment