Naif Al-Otaibi wrote:
I copy a complete example from a book to upload file and I got this message error when I browse the file:

Parse error: parse error, unexpected '!', expecting T_VARIABLE or '$' in c:\inetpub\wwwroot\php5\file_upload.php on line 32
Change
if(isset(!$WINDIR)
to
if(!isset($WINDIR)

and it should work. I wonder, which book is this?

--

-------------------------------------------------------------------------
 Derick Rethans                                 http://derickrethans.nl/
 PHP Magazine - The PHP Magazine for Professionals - http://php-mag.net/
-------------------------------------------------------------------------


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to