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 #174568 is a reply to message #174566] Sat, 18 June 2011 03: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 Jerry Stuckle
<jstucklex(at)attglobal(dot)net> writing in news:itgrt2$u7d$1(at)dont-email(dot)me:

> On 6/17/2011 5:22 PM, Adrienne Boswell wrote:
>> Okay, I give up! I pulled the very last hair out of my head, and now
>> I am asking for help.
>>
>> This is a Win2003 SP2 server running Plesk PHP5 on Microsoft-IIS/6.0.
>> Why am I using PHP on Win? The main application was written in
>> Classic ASP, hence the Windows server. I need to run a script from
>> the command line so I can call it with the task manager to run every
>> night.
>>
>> Using the command line, the script gives a warning, and then fails
>> saying it cannot write to a file. Using a browser, the script works
>> flawlessly.
>>
>> I am thinking it might be a permission issue? I checked and IUSER the
>> DOMAIN USER, SYSTEM and Administrator have full permissions on the
>> file (s) in question. Is there another user I should be including?
>> The batch file is running as Administrator.
>>
<snip>

>
> <lots of other stuff snipped>
>
> Classic windows permission issue. First of all, ensure you're writing
> to the file you think you are (i.e. use absolute paths, etc.). Then
> try a windows-related newsgroup.
>

Thanks, Jerry. I was pretty sure it was a permission issue. I'll head
over to a windows group, and hopefully they won't tell me it's an .net
issue like they usually do. By the way, if you're a father, Happy
Father's Day, heck, have a happy one even you're not.

--
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 05:51:17 GMT 2024

Total time taken to generate the page: 0.03833 seconds