# Hide XML from public with a PHP file loaded in Flash

**URL:** <https://forum.kirupa.com/t/hide-xml-from-public-with-a-php-file-loaded-in-flash/212732>\
**Category:** programming\
**Created:** [January 13, 2007, 5:25pm UTC](https://forum.kirupa.com/t/hide-xml-from-public-with-a-php-file-loaded-in-flash/212732 "2007-01-13T17:25:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![detonate](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/detonate/32/2950_2.png) [@detonate](https://forum.kirupa.com/u/detonate)\
**Post date:** [January 13, 2007, 5:25pm UTC](https://forum.kirupa.com/t/hide-xml-from-public-with-a-php-file-loaded-in-flash/212732/1 "2007-01-13T17:25:35Z")

</div>

Hello everyone,  
I’m trying to pull my xml file silently(so public can’t access and view all my image paths, text info etc.).

So far it’s not working, seems like nothing is happening. When I originaly used the url.xml in flash everything is A-ok.

## my getxml.php file \<?php $xml = $\_POST[‘url.xml’]; readfile($xml); ?\>

my normal xml call that works perfect when I use the .xml extention

var contentXML:XML = new XML();  
[//contentXML.load](https://contentXML.load)(“url.xml”); //works perfectly  
contentXML.load(“getxml.php”);  
contentXML.ignoreWhite = true;  
contentXML.onLoad = function(ok) {  
if(ok) {  
makeMenu(contentXML.firstChild);  
}  
};

Any help would be very appreciated!
