Elliot Holden wrote:
for some reason or another, my script won't create the text file that it
is supposed to create on the server. For example, I'm taking a survey
and calculating votes for a favorite song. The script IS calculating the
votes so the text file is being created somewhere, but the text file is
not showing up in the "cgi" directory where the script is located. If it
is, I just can't see it. The purpose of the text file is to hold each
vote. Are there any permissions or anything weird that has to be done.
Godaddy is my hosting provider. This is a basic script that I followed
out of a beginners book, so I know everything is correct in the script
plus it "IS" working, I just can't see the text file that is holding the
votes.
Elliot
Without seeing the script it is hard to give advise. Could you include
the part of the script that creates the file path and name and the open
statement?
Don't forget that CGI scripts are ran under the user who runs the
server. It is possible that the file is ending up in this user's home
directory. If you're not sure where this is, check with your server
administrator.
--
Just my 0.00000002 million dollars worth,
--- Shawn
"Probability is now one. Any problems that are left are your own."
SS Heart of Gold, _The Hitchhiker's Guide to the Galaxy_
"This statement is true but unprovable."
Kurt Godel
* Perl tutorials at http://perlmonks.org/?node=Tutorials
* A searchable perldoc is at http://perldoc.perl.org/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>