|
From: | Mosca Federico |
Subject: | cgi problem |
Date: | Mon, 18 Jul 2011 09:18:11 +0200 (CEST) |
#!/usr/bin/perl use CGI::Carp qw(fatalsToBrowser); use CGI; $sms_text=testing123; unless (fork) { exec ("echo $sms_text|gnokii --sendsms +39xxxxx"); } wait; print "Content-type: text/html\n\n"; print "<HEAD>"; print "</HEAD>"; print "<BODY>"; print "$sms_text"; print "</BODY>";
[Prev in Thread] | Current Thread | [Next in Thread] |