I just wrote my first CGI script (and Perl script, for that matter) which updates the news of the index of a site through a form. Everything works fien except that it appends the file at the bottom and not at the top. So the new news that is entered through the form is placed at the bottom of the news rather than at the top. I know there is a way to fix this. What is the syntax to append a file at the top and not at the bottom (the file is a news file, so all context of the past news is in similar format to the newly posted one). I appreciate any help.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.