In php using the command var_dump($_FILES ['filexml']);
I get the following ajax values
array(5) {
["name"]=>
string(56) "nomeficticio.xml"
["type"]=>
string(8) "text/xml"
["tmp_name"]=>
string(14) "/tmp/phpoqnomeficticio"
["error"]=>
int(0)
["size"]=>
int(16536)
}
Through this data, how can I read this XML file? with PHP
I even tried to use the simplexml_load_file($_FILES['filexml']);
command but gave the following error:
simplexml_load_file () expects parameter 1 to be a valid path, array given