(.*?)<\/".$tag.">/si"; preg_match_all($preg,$string,$tags); foreach ($tags[1] as $tmpcont){ $tmpval.=$tmpcont; } return $tmpval; } /* Function load($file) reads the content of the file that you send and returns it */ function load($filelocation){ if (file_exists($filelocation)){ $newfile = fopen($filelocation,"r"); $file_content = fread($newfile, filesize($filelocation)); fclose($newfile); return $file_content; } } ?> visitors since 1st April 2001
Copyright (©) 2000-2006 Jesuit Singapore Website. All rights reserved.