Re: fopen question.

This is a discussion on Re: fopen question. within the PHP Language forums, part of the PHP Programming Forums category; Thanks for the help! I think I got most of it working now on that end. Any idea why the ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 08-22-2004
theouimets@hotmail.com
 
Posts: n/a
Default Re: fopen question.

Thanks for the help! I think I got most of it working now on that end.
Any idea why the response would be: Error Loading XML: Invalid at the
top level of the document (the call works ok when i cut and paste in
IE) but gives this error through the script. Thanks again for the help!

Reply With Quote
  #2 (permalink)  
Old 08-22-2004
Janwillem Borleffs
 
Posts: n/a
Default Re: fopen question.

theouimets@hotmail.com wrote:
> Thanks for the help! I think I got most of it working now on that end.
> Any idea why the response would be: Error Loading XML: Invalid at the
> top level of the document (the call works ok when i cut and paste in
> IE) but gives this error through the script. Thanks again for the
> help!


Probably because you are sending the HTML entities of the less/greater-then
characters instead of the literals.

You should send urlencode("<element />") instead of urlencode("&lt;element
/&gt;").


JW



Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:58 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0