View Single Post
Old 04-14-2005, 03:11 PM  
AcidMax
Confirmed User
 
Join Date: May 2002
Location: MI
Posts: 1,827
Why not just make the .txt a .php extension and include it?

Otherwise maybe you can try something like the eval function

http://us2.php.net/eval and see if that works.

-- below may or may not work for you --
$text = join('', file('/path/to/text/file'));

echo eval($text);
__________________
Latest MMA news. http://www.mmawrapup.com
AcidMax is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote