[snip] $a=include("th-file.php"); [/snip] Mag,
I have never seen this approach before. This is the way I would do something like that. $file="./th-file.php"; if (!($fp = fopen($file,"r"))){ echo "Could not open ".$file; exit(); } $a = fread($fp, filesize($file)); fclose($fp); See the following page for reference: http://us2.php.net/manual/en/function.fopen.php Cheers, -jesse- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php