RE: [PHP-DB] Reading and Writing ?

From: Date: Thu, 17 Jan 2002 08:33:03 +0000
Subject: RE: [PHP-DB] Reading and Writing ?
Groups: php.db 
Request: Send a blank email to php-db+get-15918@lists.php.net to get a copy of this message
easy peasy dave :) (pseudo-code - cause i'm lazy and hopefully you aren't :P) <?php[esque] create file pointer to file 1 (read-only "r"?) read file 1 into string close file pointer to file 1 create file pointer to file 2 (creating if necessary ("w")) write string from file 1 to this pointer close pointer to file 2 ?> // -----Original Message----- // From: Dave Carrera [mailto:dave@davecarrera.com] // Sent: Thursday, 17 January 2002 4:21 PM // To: php-db@lists.php.net // Subject: [PHP-DB] Reading and Writing ? // // // Hi All // // How can I read the contents of 1 file then Write those contents to a // newfile? // // This is baffling me. // // I Know about fopen,fread,fwrite but cant seem to get the // logical steps clear // in my head. // // As always any help or pointers given are most appreciated. // // Yours // // Dave C // // // // -- // PHP Database Mailing List (http://www.php.net/) // To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net // For additional commands, e-mail: php-db-help@lists.php.net // To contact the list administrators, e-mail: // php-list-admin@lists.php.net //

« previous php.db (#15918) next »