To: | |
---|---|
Subject: | Re: [ts-7000] where is ../data when referenced in a cgi program ? |
From: | Walter Marvin <> |
Date: | Fri, 27 Sep 2013 13:22:27 -0700 (PDT) |
you can open any file you have opsys permission to open within a cgi -------------------------------------------- On Fri, 9/27/13, <> wrote: Subject: [ts-7000] where is ../data when referenced in a cgi program ? To: Date: Friday, September 27, 2013, 12:48 PM so I want to open a data file, in a c program collect_post.cgi. it wants to open the data file as: #define DATAFILE "../data/data.txt"... f = fopen(DATAFILE, "a"); so where do I mkdir the ../data/ directory?is it in /usr/bin/cgi-bin or /var/www ????? ------------------------------------ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/ts-7000/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/ts-7000/join (Yahoo! ID required) <*> To change settings via email: <*> To unsubscribe from this group, send an email to: <*> Your use of Yahoo! Groups is subject to: http://info.yahoo.com/legal/us/yahoo/utos/terms/ |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] where is ../data when referenced in a cgi program ?, jleslie48 |
---|---|
Next by Date: | Re: [ts-7000] where is ../data when referenced in a cgi program ?, Jason Stahls |
Previous by Thread: | [ts-7000] where is ../data when referenced in a cgi program ?, jleslie48 |
Next by Thread: | Re: [ts-7000] where is ../data when referenced in a cgi program ?, Jason Stahls |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU