RE: [PHP] Parse error ???
| From: | Jay Blanchard | Date: | Thu, 04 Mar 2004 13:36:48 +0000 |
| Subject: | RE: [PHP] Parse error ??? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179440@lists.php.net to get a copy of this message | ||
[snip]
Error message is give below, any ideas why I get this errror message?
Parse error: parse error in /var/www/html/uploadproc.php on line 3
//uploadproc.php
if(!isset($_FILES['myfile'])) {
die "Error! The expected file wasn't a part of the submitted form";
}
[/snip]
Try
if(!(isset($_FILES['myfile']))) {
die "Error! The expected file wasn't a part of the submitted form";
}