if (isset($_POST['url'])) {
#clean URL
print $_POST['url'];
/*
$out = escapeshellarg("addblog-test.pl $url");
print $out;
*/
}
if ($errors){
print "$errors";
}
(it gives me an error:
Parse error: syntax error, unexpected '}' in /home/uvemympn/public_html/dev/addblog.p
Yet it's perfectly fine if I take out the comments?
if (isset($_POST['url'])) {
#clean URL
print $_POST['url'];
}
if ($errors){
print "$errors";
}
I don't get it. I really don't. I even tried different ways of commenting... # and // both...