How to upload files using php in xampp lubuntu

And that’s without the @ error-suppressing symbols? Have you got error reporting set to the maximum level during development?

How far through your code is it getting, if you add echo() statements to debug it?