Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #2244

Re: Command line cannot fwrite, browser can

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 <PointedEars@web.de>
Reply-To Thomas 'PointedEars' Lahn <php@PointedEars.de>
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 <Xns9F07924644CD1arbpenyahoocom@88.198.244.100> <8844491.SEqChMirdb@PointedEars.de> <Xns9F08B03825DEarbpenyahoocom@88.198.244.100>
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_\Vf3ci8<LNKYb?b>076McF=Q^Z^V384Fo<]lROoR18kF<OcfhCO;kVJJEDc\6Y6DZm8W4\YJN<T<8F<]0D<`9ZL0fELla>a4oX5K>P>WDP9
X-Complaints-To usenet-abuse@arcor.de
Xref x330-a1.tempe.blueboxinc.net comp.lang.php:2244

Followups directed to: comp.lang.php

Show key headers only | View raw


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' );
>> 
>> <http://www.phpfreaks.com/blog/or-die-must-die>
> 
> 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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-17 21:22 +0000
  Re: Command line cannot fwrite, browser can Denis McMahon <denis.m.f.mcmahon@gmail.com> - 2011-06-18 00:16 +0000
  Re: Command line cannot fwrite, browser can Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-17 20:35 -0400
    Re: Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-18 03:05 +0000
  Re: Command line cannot fwrite, browser can Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-18 08:20 +0200
    Re: Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-18 08:05 +0000
      Re: Command line cannot fwrite, browser can Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-18 10:27 +0200
      Re: Command line cannot fwrite, browser can Jerry Stuckle <jstucklex@attglobal.net> - 2011-06-18 08:19 -0400
        Re: Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-18 16:08 +0000
          Re: Command line cannot fwrite, browser can Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-22 11:48 +0200
            Re: Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-23 03:44 +0000
              Re: Command line cannot fwrite, browser can Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-23 09:55 +0200
                Re: Command line cannot fwrite, browser can Adrienne Boswell <arbpen@yahoo.com> - 2011-06-23 15:29 +0000
                Re: Command line cannot fwrite, browser can Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-06-24 01:00 +0200
  Re: Command line cannot fwrite, browser can Bernd Schulz <ask_me_for_email@invalid.invalid> - 2011-06-18 13:10 +0200

csiph-web