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:p...@hyperactivesw.com/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 | jac...@hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode