Return to Snippet

Revision: 34609
at October 26, 2010 03:40 by newsok


Initial Code
$fp = fopen("http://www.catswhocode.com/blog","r");
while (!feof($fp) ){
    $page .= fgets($fp, 4096);
}

$titre = eregi("<title>(.*)</title>",$page,$regs);
echo $regs[1];
fclose($fp);

Initial URL

                                

Initial Description

                                

Initial Title
Find page title

Initial Tags
html

Initial Language
PHP