Hi Noah,
You seem to be just copying a file, if so
use this instead:
http://www.php.net/manual/en/function.copy.php
Or try to describe what you're trying to do and
what the you see as a problem.
Both fread() and fwrite(0 don't interpret the
PHP code in files that they are reading and
writing.
In my experience the speediest way was to create a temporary buffer to which
you append the html you wish to output and then write the buffer to file in
one go.
Prottoss
[EMAIL PROTECTED]
http://www.mediaminer.org/
On January 1, 2002 01:41 pm, David Jackson wrote:
> This may seem a little odd?
Sorry here's the code unattached:
\n";
echo "\n";
echo "Sales Date:\n";
echo "\n";
echo "Sales Rep:\n";
echo "";
// Define table
echo "";
// Generate book listing
$result = mysql_query("SELECT pid,date,title,subtitle,author,amount FROM
catalog ") or die("Dis ain't right !!");
while (
list($pid
3 matches
Mail list logo