On Saturday 01 June 2002 04:34, Jas wrote:
> Ok, I have been working on this for awhile and cannot seem to get the
> fwrite function to work. Here is the code:
> \\ index.php
> $file_name = 'blank.php';
> $open_file = fopen("$file_name","rw");
Looks like you're using fopen() incorrectly. Try:
Ok, I have been working on this for awhile and cannot seem to get the fwrite
function to work. Here is the code:
\\ index.php
This works as I need it to, opens the file and then removes the first < so
that it won't be parsed as a php script.
\\ edit_passwords.php
I have read and writ
To: James Bartlett
Cc: [EMAIL PROTECTED]
Sent: Thursday, July 05, 2001 6:40 PM
Subject: RE: [PHP] Writting to files.?
On 05-Jul-01 James Bartlett wrote:
> Hi,
>
> Anyone know how I can write and read to different lines in a file rather
> than just adding to the te
On Thu, 5 Jul 2001, Don Read wrote:
> > Anyone know how I can write and read to different lines in a file rather
> > than just adding to the text already on the first line of the file?
>
> A. suck the whole thing up in memory, change it there, write it back out.
Just as a note: for large (text o
On 05-Jul-01 James Bartlett wrote:
> Hi,
>
> Anyone know how I can write and read to different lines in a file rather
> than just adding to the text already on the first line of the file?
>
> Thanks
>
Assuming you're talking about text files:
A. suck the whole thing up in memory, change it t
Hi,
Anyone know how I can write and read to different lines in a file rather than just
adding to the text already on the first line of the file?
Thanks
Zotud
6 matches
Mail list logo