well, i found a little problem with this. when $url looks like "http://myhosting/xml.php" and i upload it to my hosting, it times out before getting the content. that php needs includes and when i try $url="/dir/xml.php" it gives me a not found error. the file it doesnt find is one of those includes. ps: im not english either ;) -- "El único error real es aquel en el que no hemos aprendido nada."