Hi,
I try to update a file from web browser.Like that:
#!/usr/local/bin/perl
print "</body></html>";
print "Content-type: text/html\n\n";
print "<html>\n";
print "<body>\n";
@ry = `rsh bcksrv7 mminfo -a|head -10`;
open (OUTFILE,">ozan");
print OUTFILE "@ry \n";
close (OUTFILE);
print "</body></html>";
exit;
But when I run from it doesn't update the file "ozan". I try from server side (Solaris 9) at the command prompt, it works.
What is going wrong with my script?
Help!
I try to update a file from web browser.Like that:
#!/usr/local/bin/perl
print "</body></html>";
print "Content-type: text/html\n\n";
print "<html>\n";
print "<body>\n";
@ry = `rsh bcksrv7 mminfo -a|head -10`;
open (OUTFILE,">ozan");
print OUTFILE "@ry \n";
close (OUTFILE);
print "</body></html>";
exit;
But when I run from it doesn't update the file "ozan". I try from server side (Solaris 9) at the command prompt, it works.
What is going wrong with my script?
Help!