Re: Error with fopen and foreach...

From: Date: Sat, 10 May 2003 11:53:31 +0000
Subject: Re: Error with fopen and foreach...
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-147109@lists.php.net to get a copy of this message
On Saturday 10 May 2003 18:12, megadigital wrote: > Hello, i am trying to create a program to managem my site > mailing list... As i don't want to use mysql, i am trying to > create a 0-length file with user e-mail just to prevent from > sending mail twice... > But for any reason fopen is not working in my script... How did you come to that conclusion? Does the following work? $fp = fopen('doo', 'w'); fclose($fp); If it does, then what does print_r($email2) output? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* A classic is something that everyone wants to have read and nobody wants to read. -- Mark Twain, "The Disappearance of Literature" */

« previous php.general (#147109) next »