Re: view xml thru php
| From: | Jason Barnett | Date: | Wed, 23 Jun 2004 15:44:14 +0000 |
| Subject: | Re: view xml thru php | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24060@lists.php.net to get a copy of this message | ||
Joakim Ling wrote:
The raw xml. I tried header("Location: $file"); but its not working in IE. NN works fine. http://www.lokalguiden.se/tv4/texttv.php Any ideas?I tried the link you posted above; it did not redirect me to any xml file (Mozilla). Were you hoping to have me view the contents of that file? If so, then make sure you've changed $file to the path and file name of your actual xml file. I played around a bit and I think the following code will show your raw xml: ********************** texttv.php ****************** <?php $file = 'texttv.xml'; header("Location: $file"); ?> **************************************************** Alternatively, just type the link in your browser: http://www.lokalguiden.se/tv4/texttv.xml