Web server problem with creating/readin files
Im learning perl and have encountered a problem most likely with the way my web server is setup? The problem has just become apparant now Im try to manipulate files. The code im using is:
open (SPUD, “>potatoes.txt”);
print (SPUD “Maris Piper\n”);
print (SPUD “King Edward\n”);
the txt file isnt been created and all im gettin is a Internal Server Error, im using apache on a win2k system and would be grateful if anyone could help me out. Do i need to alow access to something to be able to write the files? I dont know what to look for.
Make sure the directory you are trying to write to is not read-only.
Make sure you're using straight quotes and not curly ones.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)