RE: [PHP] Appending the start of a file?

From: Date: Thu, 14 Dec 2000 05:14:57 +0000
Subject: RE: [PHP] Appending the start of a file?
Groups: php.general 
Request: Send a blank email to php-general+get-30242@lists.php.net to get a copy of this message
maybe this: rename(file, tmp) fopen -W fopen -A (tmp) unlink (temp) I listed that in the way I though, not the exact syntax, just giving you an idea. Cheers, Maxim Maletsky -----Original Message----- From: Police Trainee [mailto:policetrainee@yahoo.com] Sent: Thursday, December 14, 2000 2:11 PM To: PHP Subject: [PHP] Appending the start of a file? Is there a simple way to append a file starting from the beginning and pushing everything else down? fopen()in mode W erases everything first, and in mode A appends to the bottom. So what is a simple man to do? thanks in advance -mark __________________________________________________ Do You Yahoo!? Yahoo! Shopping - Thousands of Stores. Millions of Products. http://shopping.yahoo.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#30242) next »