Sunday, August 18, 2013

Include file contents in script PHP

Include file contents in script PHP

Real simple one for someone. I've forgotten the terminology, so I'm having
trouble finding a question I'm sure has already been answered.
I'd like to read the contents of a file that's included in the script
itself eg.
<php
// do stuff
// read file at end of script
__FILE_HERE__
zzz 123 5445
aab 494 2983
__END_OF_FILE
?>
What is this technique officially called (eg. 'In script file') - if I
know the term, I'll be off and away coding it I'm sure.

No comments:

Post a Comment