PHP Create file

Folks,

i am getting an xml response when executing the below url

(example)
http://api.names.com/find_person/1.0/?lastname=mike;street=;city=;state=;api_key=ab319cf0ad7b80a977023a4b05f233c5

i want to create result.xml file out of this xml response.
pls help :slight_smile:

Incredibly enough, using one popular search engine that I will not mention - I got results on how to create files.
Oddly enough, I’ll save you the trouble of using it so I’ll post a link that MIGHT give you an insight on how to do it - www.php.net/file_put_contents
That should put you on the right track.

Thanks, let me try that :smiley:

ooch!

Fatal error: Call to undefined function: file_put_contents() in …

I am using 1and1 hosting and i assume this is a issue with hosting.
any alternative function to this in php4?

Edited

I must need php5. let me try how to get php5 from my hosting :smiley: