Hi Dreamweaver says there is a syntax error on the following line. Is it right?
if (!in_array(array_reverse(explode(".",strtolower($file['name'])))[0],$allowedExtensions))
Hi Dreamweaver says there is a syntax error on the following line. Is it right?
if (!in_array(array_reverse(explode(".",strtolower($file['name'])))[0],$allowedExtensions))
Indexing the return value of a function is not supported in the version of PHP in use. Upgrade to a newer version, or turn it into separate statements.