<!DOCTYPE html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body><div><div>On Fri, 8 May 2020, at 12:05, Andrew Ramage wrote:<br></div><blockquote type="cite" id="qt" style=""><p>When I select files, the upload starts, but I do not reach the
      first echo statement.  Can anyone tell me why ?<br></p></blockquote></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">I suspect the problem is that the HTML allows multiple files so you'll have an array of data for the name and I would expect basename call to error out (but this is just guessing, I don't touch PHP if I can avoid it).<br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;"><a href="https://www.php.net/manual/en/features.file-upload.multiple.php">https://www.php.net/manual/en/features.file-upload.multiple.php</a><br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">I'd echo recommendation from earlier to figure out how to see the PHP errors - it's a lot easier to figure out what's going on when you get some clues to where the problem is from the error message. <br></div><div style="font-family:Arial;"><br></div><div style="font-family:Arial;">Robert</div><div id="sig481670"><div>________________________________________________________<br></div><div>Robert McWilliam     rmcw@allmail.net    argh.technology<br></div><div><br></div><div>What do you consider to be your median achievement?<br></div></div><div style="font-family:Arial;"><br></div></body></html>