Re: Get text from funky url?

From: Date: Fri, 20 Jan 2006 21:43:41 +0000
Subject: Re: Get text from funky url?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-228983@lists.php.net to get a copy of this message
Hi, try to use urlencode() and urldecode() to encode url's. -- Marco 2006/1/20, lists@323inc.com <lists@323inc.com>: > > > Hello, > > I am trying to get xml from AIM's new presence API. > > The url is unusual, it has quotes in it. > > Anyone know a way to get the text from this? > > > > http://api.oscar.aol.com/SOA/key=PandorasBoxGoodUntilJan2006/resource-lists/ > > users/*anonymous*/presence/~~/resource-lists/list[name=\"users\"]/entry[@uri > =\"user:screenname\"] > > Insert your own screen name to see what it returns > > I tried include(); but the quotes in the url broke it. Tried escaping them > too, still no luck.??? > > TIA > > -Mike > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Marco Kaiser

« previous php.general (#228983) next »