Re: view xml thru php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux