Everybody! This is important. In a few days, these forums will be moving over to using the totally sweet Discourse platform. To ensure this migration happens smoothly with no loss of content, these forums are currently in a read-only mode. I do apologize for the inconvenience.

There is never a good time to turn the forums off for an extended period of time, but I promise the new forums will be a billion times better. I'm pretty sure of it.

See you all on the other side in a few days, and if you have any (non-technical) questions, please e-mail me at kirupa@kirupa.com. For technical questions, try to find a tutorial that corresponds to what you are looking for and post in the comments section of that page.


Results 1 to 3 of 3

Thread: Hide XML from public with a PHP file loaded in Flash

  1. #1

    Hide XML from public with a PHP file loaded in Flash

    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
    $xml = $_POST['url.xml'];

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

    var contentXML:XML = new XML();
    //contentXML.load("url.xml"); //works perfectly
    contentXML.ignoreWhite = true;
    contentXML.onLoad = function(ok) {
    if(ok) {

    Any help would be very appreciated!

  2. #2
    why do you need to hide it, and it would be severely difficult unless you actually pasred the XML using the PHP then created an array which gets imported into flash which then gets interpereted, explain more about what you are doing and I can help more.

  3. #3
    Thanks for pointing that out...
    The reason is because it's a photography website. They are complaining that people can download/view the xml structure and rip their content. (Even publish RSS or blog etc.)
    I know it sounds kinda odd but that's what happens when your caught up dealing with "joe know it all" picture boy

    Hmmm, if the only solution is to parse and output arrays and then load in flash for xml readability I give up! This will be way too complexe since they have lots of categories and a fair amount of content/imagery.

    I'm definitly in for a big one as I can see

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About kirupa.com Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012