Can anyone tell me what I am doing wrong and why test.cgi does not write to cron-tab correctly?? I guess this is probably not the safest way to process the data. I've been hearing that I shouldn't write directly to a crontab file. Can anyone tell me an easier way to do this? Thanks!#!/usr/bin/perl use CGI; print "Content-type: text/html\n\n"; open(OUT, ">>/home/jma/Documents/cron-job"); print OUT "blah\n";
In reply to how to avoid web server from getting hacked by Niner710
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |