URLRequest to PHP file on remote server

I would like to make a URLRequest to a PHP file that contains the xml code and the PHP file is housed on a server separate from my flash file.

I understand there are security problems in this sort of thing.

Could someone please help me understand how to do this job?

You must have a crossdomain.xml file in your domain root directory. CrossDomain file gives permission to the PC to connect to areas other than its own.

This is a file simple cross-domain. Display www.bar.com with right domain name


 

more info on security at: http://www.adobe.com/devnet/flashplayer/articles/fplayer10_security_changes.html

Tags: Adobe Animate

Similar Questions

  • How Exchange View screen between local files and remote server?

    I just need to know how to switch the display between local files and remote server, I want my files the on the left and the remote server on the right.  I had it set up before, but just got a new computer and can not remember how I did it.

    Its OK, I found it. Thank you

  • Unable to put files on remote server

    After building my site web, I am unable to put my files on the remote server using the button "Put file (s) to the remote server" of Dreamweaver.

    Here are the steps to put my files on the remote server:

    • In Dreamweaver, select Windows > files.
    • In the files Panel, local root folder of my site (on my computer).
    • Connect to the remote service by clicking on the button "connects to the remote host.
    • Click on blue arrow icon "Set files" in the files Panel toolbar.

    Here is an example of an error log I get:

    contact.htm - even - not transferred

    CSS.css - even - not transferred

    includes\banner\banner04_new_logo.jpg - Ditto - not transferred

    includes\banner\bottom_banner\bottom_banner.jpg - Ditto - not transferred

    Activity of the complete file.

    Ignored files: 4

    I am able to work around this limitation by the remote server on Windows | Files, and then select manually the files that I want to put on the remote server and to copy it and paste it in. However, I'm looking for a more automated process by clicking on the blue arrow icon "get files".

    I discovered the root of the problem. My web site is stored in a folder called/public_html in my cpanel. However, / public_html was not configured as my Manager root in my Dreamweaver site definition. Therefore, Dreamweaver was my a level of the above files / public_html, at a place where my Internet users were unable to view the files. This would explain why I sometimes synchronize web site or put files and receive a message indicating that the operation succeeded, then find that the web page was not updated really. The reason is that the updated files were a level above / public_html.

    I managed to solve this problem by:

    • Configure the access/public_html path by going to: Manage Sites | Choose the Web Site | Select Edition | Servers tab. Change existing server | under the root directory, enter public_html
    • Deleting all files duplicate of cpanel.
  • Disappear from files on the remote server (was: local files and remote server)

    Hi, a few days ago my remote server is different from my files the. When I put the files, the first files seem to be placed on the remote server and then a large part of them disappear (after a few minutes)

    Although this file seems to have disappear from the remote FTP list, it resides in the folder root of your server

    http://www.nathaliecallenaere.com/30.formations_informations_infographie_avignonet.html

  • Access to files on remote server

    Hello
    How can I access the files on the remote server? Using DW CC, and I need to delete some files, so I need the same access to the remote control as on local files. Previously, it was no problem. Thank you

    Thank you Ken, yes indeed, and now I found: for some reason, the file manager has been set to see 'Files in the repository' instead of 'remote server '. I'm back in business.

  • Cannot upload files to remote server

    I have a connection checked FTP in Dreamweaver CS6 to a remote server, still can not download files.  Message is always: WAITING FOR SERVER followed shortly after OPERATION CANCELLATION.

    All articles read so far seem to focus on the FTP connection problems, which doesn't seem to be my problem.

    Based on Filezilla at the moment, but it's less convenient than downloading files modified directly from Dreamweaver to the remote server.

    .. .and the winning bet in the "Other Options" submenu was:

    Tagged: "use FTP performance optimization".

    Without label: all other options.

    It seems that "Use passive FTP mode" was in conflict with "use FTP performance otpimization mode."

    Thanks to all for giving time to solve my problem.  Happy days!

  • Excess file on remote server

    Can someone tell me if it is possible to modify or delete files on the remote server directly using Dreamweaver, I have problem with Google and broken links, and I think that its because of the page excluded on the remote server

    Site > synchronize > Put more recent files remotely

    Make sure "Delete files remotely not on the local disk" is checked.

    Then click Preview, and then click OK.

  • I need help importing files from remote server

    Hello

    My computer has become corrupted, and I lost everything. My backup system has not (unknow reason at this moment) ALL .muse files are saved.

    I pray there is a way for me to import the files from the server in muse...

    Thanks in advance!

    Geneviève

    Muse allows you layout of your Web site, and then generates the code so that you don't have to. Impossible to import the code implemented in muse.

    Next time, install google reader on your computer and save your muse files to that!

  • How to transfer data to my flash animation in a PHP file?

    Hi all

    So, I scoured the internet for forums and tutorials (for 3 days now), and I found a little information.  However, no matter what I do I can't get data from my components to a PHP file on my server.  In the end, I'm doing a flash form that will submit the form data to the PHP script and enter data into a mySQL database.  Before that, however, I thought I would first just try to see if I could get the data processed in PHP.  So, I created a simple PHP file that simply displays the data on the screen, and I did a single button flash movie that has some actionscript in it.  Here is the code for the PHP file:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""
    " < html xmlns =" http://www.w3.org/1999/xhtml ">
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    < /Title > < title > results
    < / head >
    < body >
    <? PHP
    $data = $_POST ["firstName"];
    $goob = $_POST ['name'];
    $ming = $_POST ['age'];

    echo $data;
    echo $goob;
    echo $ming;
    echo "...". and that's all I have. » ;
    ? >
    < / body >
    < / html >

    And here's the code for actionscript code that I have in my button:

    on {(click)
    var firstName:String = 'Gus ';
    var lastName:String = 'Richardson ';
    var age: Number = 92;
    getURL ("path_to_my_php_file_goes_here", "_blank", "POST");
    }

    I would like to note that my actionscript is a copy/paste directly reference Adobe online for actionscript 2 (with a change to the php path, of course).

    I have download and view the page with the button 'flash' in there.  When I click on the button, I get redirected to the page of .php as expected, but the only thing I get on my screen is "...". and that's all I have. »

    firstName, lastName and age are never treated.  Finally, I'll be eager to send data from Forms components.  But as a first step, I can't even this works correctly.  Someone saw?  It would be greatly appreciated.  On a side note, I use Macromedia Flash 8 (I'd love to upgrade, but Adobe won't let me since it's part of a series... and I don't want to upgrade all of the suite.)  But that's another story...)

    Thank you very much!

    Ed K.

    getURL is a way to link to another web page, not for sending the data, if you can use it if you want to label the data as a query string.  You would use...

    getURL ("http://www.domainname/folder/file.php?firstName=" + firstName + "& lastName =" + lastName + "& age =" + age, "_blank", "POST");

    The more formal way of passing data is to use the AS2 LoadVars class.  If look you in the help documentation, it should provide useful examples.

  • How to get out the widget from a remote php file

    I want to leave the remote one froma widget php file, I use the onExit

    function trapForApplicationExit()
      {
          blackberry.app.event.onExit(handleExit);
      }
    
      function handleExit()
      {
             var answer = confirm("Leave this application?");
             if (answer)
               blackberry.app.exit();
      }
    

    who needs to add the function blackberry.app.event in my config.xml file, the question is how can I add this feature to the remote files on the server?

    In your config.xml file where you have in your external domain name whitelist, you will also want to add the feature as an element element nested.

    For example:

    http://www.mydomain.com" subdomains="true">
      
    
    

    This will allow the API run in the external domain.

  • Select the remote server to download files.

    With the help of CS5.5 I am unable to put files on my test server, except if the remote server is selected. He said: "before using this feature, you must set up a remote server. You want to book one now? ".

    If I check the remote server, I am able to upload files to the test server, also download the remote server that is BAD, I'm just testing and redesigning the site.

    I found another thread saying to remove the site, I did; Nothing helps.

    If I do not select a remote server I'm unable to download and to remodel the site.

    How do you have on this?

    Managed to fix it I made my server under servers model > advanced > server model has been configured for PHP MySQL.

  • Can I include a signature hosted on a remote server, create the signature in Tunderbird and store the file locally?

    I want to insert a signature that I hosted on a web server without having to create and save the local html file on my computer, is it possible? I know that I can insert a picture from a web server as part of my signature, which is not what I'm asking. Is there an add-on or anything else that can help me to insert my signature from a web server directly, without having to host the file locally?

    You do not have to store the signature on your computer, but Thunderbird will not bind to a text or HTML signature on a remote server file.

    Thunderbird is waiting for you to provide a simple signature to provide the URL to the 'IMAGE' stored on the remote server and this link should be included in Thunderbird, if not how to be referenced in the message?

    You can always include a link to the text that is stored remotely or a HTML signature in your message, but the recipient will activate it? Once again this link would be stored in the message

    TB - 38, 3 Win10-PC

  • Ocuured to exception on playback of a video file on a remote server

    Hi all

    I'm trying to play a video file of the 3gpp format that is located in a remote server.

    Debugging the application, I get the following error "AUDIOMANAGER: IOException ' in the console when the application tries to connect via the HTTP URL for the location of the file:

    SMPones acquired session id = 1799
    MN: init0 (0) = 0
    MN: charge 0
    MN: unload0 (0) = 0 pauseHandle = 7fffffff
    MN: unload 1
    AUDIOMANAGER: IOException
    Streaming is reason = 1000 prev - state = 300

    Any idea about this error or how to fix this.

    Simulator used is 9000 and OS 4.6

    I am able to play the file even if it's on the SD card.

    Concerning

    Ali Said

    You can use a different connection path so that you are not through BlackBerry Enterprise Server file access.

    What - in different ways to establish an HTTP connection or socket
    Article number: DB-00396

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800451/800563/What_Is...

    Or you can use a segmented HTTP connection to download your video file.

    How - to download large files using the BlackBerry Mobile data system
    Article number: DB-00619

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800431/How_To _...

  • How to install a .bar file hosted in a remote server on device BlackBerry 10 Dev Alpha

    I port an Android application for BlackBerry using Android Runtime. I can install this application successfully using Eclipse. Now, I want to only those files (MyApp.bar) in a remote server deployment and download the .bar using a file browser and install it to another device BlackBerry Dev Alpha 10. I was able to download but cannot install the .bar file. What should I do?

    In fact This is the kind of method I get. Google Chrome Extention (PlayBook App Manager) did the job perfectly.

  • How can I get an OAM canvas file to show on a remote server?

    I created a simple slideshow of canvas to animate CC 2015.2.  I tested it to animate and in the option film Test browser Animate (Safari) and everything works perfectly.  Then, I followed the instructions in the files OAM CC export animate to Dreamweaver and Adobe Muse | Adobe Dreamweaver tutorials CC to import the OAM in Dreamweaver.  Everything worked fine in Dreamweaver.

    But when I downloaded the files on the remote server, the html file makes its appearance, but the OAM canvas file does not appear.

    The files on the server configuration is duplicated just as they were on the local site.  But still nothing from the OAM is showing on the site of the remote server.  Must something be done on the remote server to make it work correctly?

    Any suggestions that might need to be done to get the CAO of canvas to show on the remote server as it does on the local site?

    Thank you.

    Thanks for everyone takes the time to write and help.  Finally, things work.

    In my view, the critical download process deserves more attention in support of the canvas.  I came across several bumps on the road.  It is mainly through trial and error and persistence that it met.  A video tutorial on the process of going to animate remote server download could be very useful for beginners and encourage people to use Adobe products for this process.  Once you get all the workers, it's great!

    Thanks again for your help!

Maybe you are looking for