On Thu, 31 Jan 2002 22:28:59 +0530, you wrote: > I want a php script which takes 4 parameters : > > - header file > - body file > - footer file > - OUTPUT file > > What it should do is combine 1. header, 2. body, and 3. footer and save it as 4. >OUTPUT file
Is cat header body footer > output too simple? Any reason why it has to be PHP? Suppose you could do : <? $header = "header.txt"; $body = "body.txt"; $footer = "footer.txt"; $output = "output.txt"; exec("cat $header $body $footer > $output"); ?> djo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]