I'm very new to Perl and CGI so please try to explain as best you can. I'm trying to make a script that will allow users to create a new file on my directory. I get an error that says something like 'Insecure dependency at open()'. The only problem is the scaler in the open() command. I know because then I remove the $ it works fine, creating a new file called name.html. I might have to chmod it, I don't know. Right now I'm using Windows98. (I'm learning Linux) Please help, I am open to all suggestions, and please take it easy on me. Here is the script: (In part)
#Start script
$name=$cgiobject->param("name");
#Some other scalers...
open (NEW ">$name.html") die "!$";
#Print some stuff...
#End of script
Please help. Thanks.
Check this out:
http://www.neopets.com/refer.phtml?username=scooby_dood
#Start script
$name=$cgiobject->param("name");
#Some other scalers...
open (NEW ">$name.html") die "!$";
#Print some stuff...
#End of script
Please help. Thanks.
Check this out:
http://www.neopets.com/refer.phtml?username=scooby_dood