Re: [PHP] Deleting a String from a file.

2003-11-21 Thread CPT John W. Holmes
From: "Cameron Badgley" <[EMAIL PROTECTED]> > Hey, I'm trying to write a script which deletes a String from a file. The > String that the user wants deleted is provided from a form and the file is > named to2do.txt. I have a hidden variable called "deleting" that lets me > know when the string has

RE: [PHP] Deleting a String from a file.

2003-11-21 Thread Chris W. Parker
Cameron Badgley on Friday, November 21, 2003 1:42 PM said: > I have written the following code but receive the error: > Warning: fclose(): supplied argument is not a valid File-Handle > resource in /u3/7/cirop27/public_html/todo/to2doDEL.php on line 63 [snip] >

[PHP] Deleting a String from a file.

2003-11-21 Thread Cameron Badgley
Hey, I'm trying to write a script which deletes a String from a file. The String that the user wants deleted is provided from a form and the file is named to2do.txt. I have a hidden variable called "deleting" that lets me know when the string has been submitted. I have written the following cod