My problem is as follows: I have a php page generating xml for me depending on vars passed by GET. ie, data.php?category=2 would return xml for section 2. This is great for flash but I’m trying to call it from another php file. If i use fopen(data.php) I get uncompiled source code. If i use simplexml_load_file(“data.php”) I get errors. I think it doesn’t like the <?php at the beginning. Has anyone ever run into a similar problem? Thanks.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
XML from PHP, not loading | 0 | 71 | May 16, 2007 | |
Loading php and xml file
|
4 | 101 | June 6, 2008 | |
Xml
|
0 | 106 | June 28, 2009 | |
Xml.load() with .php files
|
0 | 84 | August 3, 2005 | |
Parsing dynamic XML sourced from a PHP file
|
0 | 88 | March 3, 2009 |