Example Needed
| From: | Jeff Lacy | Date: | Sat, 16 Sep 2000 21:20:23 +0000 |
| Subject: | Example Needed | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17027@lists.php.net to get a copy of this message | ||
Hello. I would like to create a php script or something would would take a file and delete
everything before the first "<a". Then it should add
<?php
$date="blah";
$page="page#";
include ('../head.php3');
?>
to the top of the file.
It should also delete the last two lines or
<body>
</html>
It should then append
<?php
include ('../foot.php3');
?>
to the bottom of the file. I have no idea how to go about this, so any help would be greatly
appreciated. Thank you!