note 18772 deleted from function.fputs by hholzgra

From: Date: Fri, 12 Jul 2002 14:53:28 +0000
Subject: note 18772 deleted from function.fputs by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-32964@lists.php.net to get a copy of this message
Im a n00b to this stuff but have a little question. I have a template file that I would like to add the content to no write over it. I want the string $content to be added to my template instead of writing over it. Here is my current script <pre> $tutorial = "template.php"; $fp = fopen("$tutorial","w"); fputs($fp, $content, strlen($content)); <pre> If you need any other info please just ask. And if you dont get my question aske again.

« previous php.notes (#32964) next »