Hello,
I found the problem... the Twitter API does return XML, but on my LAMP
system, the PHP
var_dump($variable) method strips away the XML tags! This seems
ridiculous to me, but
then the documentation on var_dump is skimpy...
Thanks again for your help.
,
On Oct 13, 9:51 pm, Scott Haneda
On Wed, Oct 14, 2009 at 11:30 AM, ArnieLapinig arnie.lapi...@gmail.com wrote:
Hello,
I found the problem... the Twitter API does return XML, but on my LAMP
system, the PHP
var_dump($variable) method strips away the XML tags! This seems
ridiculous to me, but
then the documentation on
How are you showing $query? If you're just doing print $query in a browser,
the XML wouldn't show up in the window. You could either set the
Content-type: text/plain before outputting $query, or by checking view
source.
On Tue, Oct 13, 2009 at 22:37, ArnieLapinig arnie.lapi...@gmail.com wrote:
I just ran your exact code, and was able to pull an xml string just
fine, so I do not believe it is your code. The only thing I can think
is you may want to curl_close() the connection, perhaps there is some
caching or other similar thing in effect, though that is a big long
shot.