FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Command line cannot fwrite, browser can
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Command line cannot fwrite, browser can [message #174572 is a reply to message #174570] Sat, 18 June 2011 08:05 Go to previous messageGo to previous message
Adrienne Boswell is currently offline  Adrienne Boswell
Messages: 25
Registered: October 2010
Karma:
Junior Member
Gazing into my crystal ball I observed Thomas 'PointedEars' Lahn
<PointedEars(at)web(dot)de> writing in news:8844491(dot)SEqChMirdb(at)PointedEars(dot)de:

>> $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.

>
>>
>> $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.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: pagination driving me insane
Next Topic: insert query error
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 07:52:59 GMT 2024

Total time taken to generate the page: 0.05656 seconds