Zend - The PHP Company




Miscellaneous

Add Code


Grabber 1.0  

Type: application
Added by: Agux
Entered: 26/07/2000
Last modified: 08/12/1999
Rating: ** (8 votes)
Views: 10990
Wow! Now you can Grab from a web page any information and put it automatically in your home page. Cool for weather, news and more...


<?php
//only need to replace www.mundoclic.com with the
//url to grab from.
//In BEFORE and AFTER CODE insert the tags 
//between the information to grab
//thats all. coments to agustind@hotmail.com
//Enjoy!

$file fopen("http://www.mundoclic.com""r");
$rf fread($file20000);
$grab eregi("BEFORE CODE(.*)AFTER CODE",
$printing[1] = str_replace("#cccc99""white"$printing[1]);
fclose($file);
echo 
$printing[1];
?>

?>


Usage Example




Rate This Script





Search



This Category All Categories