? about PHP includes
| From: | Craig Westerman | Date: | Fri, 03 Aug 2001 00:46:01 +0000 |
| Subject: | ? about PHP includes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-61026@lists.php.net to get a copy of this message | ||
Hello all,
I just discovered PHP this week. I'm reading about include statements. If I
have a text file 2000 characters in length that I want to include, I would
do this to include to whole file:
<?php
include ("file.txt");
?>
What would I do if I only wanted to include the first 250 characters and
spaces of the file "text.txt?
Thanks
Craig ><>
westerman@chanuteks.com