Anon
01-31-2002, 10:09 PM
I read the PHP manual on fopen and other filesystem functions but I'm not udnerstanding the concept well enough. I was wondering if someone could help me with an example. I want to take the contents of 2 variables from a form (say $fname and $lname) and put them in a text file that I create delimited with pipes. So if I entered Louis as fname and Smith as lname, it would create a file (lets call it db.txt) and would insert "Louis | Smith" into the file. Then, I want to delete the file. Any ideas on how to do this? I really appreciate any help!