Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="ISO-8859-1" Message-Id: <1652142.aK4W3vaeNJ@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Sat, 18 Jun 2011 10:27:43 +0200 User-Agent: KNode/4.4.7 Content-Transfer-Encoding: 7Bit Subject: Re: Command line cannot fwrite, browser can Newsgroups: comp.lang.php References: <8844491.SEqChMirdb@PointedEars.de> Followup-To: comp.lang.php MIME-Version: 1.0 Lines: 32 NNTP-Posting-Date: 18 Jun 2011 10:27:44 CEST NNTP-Posting-Host: 97baaf84.newsspool3.arcor-online.net X-Trace: DXC=dJ_\Vf3ci8076McF=Q^Z^V384Fo<]lROoR18kFa4oX5K>P>WDP9 X-Complaints-To: usenet-abuse@arcor.de Xref: x330-a1.tempe.blueboxinc.net comp.lang.php:2244 Adrienne Boswell wrote: > Thomas 'PointedEars' Lahn [wrote]: >>> $filename = "groupmail.html"; >>> $groupmhtml1noname = "groupmail1_noname.txt"; >>> >>> //this above file is the one it cannot find >> >> (You don't say) > > Turns out I needed to use a single quote instead of a double quote. The > script is running just fine now. Now I am curious: Where exactly? >>> $groupmail = fopen( $filename,'w' ) or die( 'cannot open >>> groupmail.html' ); >> >> > > Thank you for all your help, and the link. I have read it and will > implement it. You're welcome. PointedEars -- var bugRiddenCrashPronePieceOfJunk = ( navigator.userAgent.indexOf('MSIE 5') != -1 && navigator.userAgent.indexOf('Mac') != -1 ) // Plone, register_function.js:16