moBlog Flash
- Started
- Last post
- 26 Responses
- JamesEngage0
ok... I'm trying asnaeky woprkaround here...
$xmlfeed = file('http://www.flickr.com/serv...
$xmlfeed = implode("", $xmlfeed);
echo "&impact=" . $xmlfeed . "&datadone=1";Trouble is any ampersands in the code end the &impact variable... is there an easy way around that?
- JamesEngage0
ignore me i've only gone and bloody cracked it.
- unfittoprint0
you want to echo the xml as an url string? I don't think that's wise, you would have to urlencode the whole thing and then escape it in flash again.
Remeber you can use the XML object load method with a PHP script.
Something like:
myXML.load("getXML.php");and in the end of the PHP script just use:
//headers to test in browser
header("Content-Type: text/xml");
//echo the result
echo $xmlfeed;
- toastie0
what was wrong with readfile() again?
- JamesEngage0
dunno didn't want to work... my internet connection in new gaff is a bit dodgy at the mo... so could be part of the reason... so installed apache etc on my box to test it all... and seems much better phew!
- JamesEngage0
little things etc... http://www.mimeartist.com/moblog…