I think the cgi folder is special (read only) to Apache for security by design. I've never been able to write to it except by FTP. But I didn't try that hard ....
On Wed, Apr 10, 2013 at 7:37 PM, J. Landman Gay <[email protected]>wrote: > On 4/10/13 6:48 PM, Dave Cragg wrote: > > Does it make a difference if you put another cr after the header? >> >> on startup >> open file "log.txt" for append >> write "this is a test" & cr to file "log.txt" >> close file "log.txt" >> put "Content-Type: text/plain" & cr >> put cr >> put "done writing" >> end startup >> > > Oh geez. Yeah, it does. I've been at this so long I can't read any more. > Thanks. > > Maybe you can tell me what's wrong with this then? Sent from a stack on my > Mac: > > put > "http://NAME:PASS@**hyperactivesw.com/cgi-bin/log.**txt<http://NAME:[email protected]/cgi-bin/log.txt>" > into tURL > put url tUrl into fld 1 > > Is it that you can't directly read text files from the cgi folder? I don't > usually do that, but someone else had the same problem so I started testing > it. > > > -- > Jacqueline Landman Gay | [email protected] > HyperActive Software | http://www.hyperactivesw.com > > ______________________________**_________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > -- Stephen Barncard San Francisco Ca. USA more about sqb <http://www.google.com/profiles/sbarncar> _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
