[Solved] Geting html in respose with upload file function [closed]


The output you get is the xdebug pretty printed error that your PHP code (specifically in C:\wamp\www\excellencepro\templates\contents\passbook\ajax.php) caused. Have a look at line 25, where there seems to be a division by zero.

The actual problem is this:

move_uploaded_file($_FILES["xfile"]["tmp_name"], "upload" / $_FILES["xfile"]["name"]);

You probably want to use "upload/" . [..] instead, as / is the division operator. So you are dividing by zero 😉

solved Geting html in respose with upload file function [closed]