To save the XML on the server using Flex

Sorry for this fundamental question. But can someone point me to an example of using Flex (maybe httpService) to load an xml file for the user to edit and save, and then on the server?

Thank you very much.

Hello

Files and directories in Unix can have three types of permissions: read ('r'), write ('w') and execution ('x'). Each permission can be 'on' or 'off' for each of the three categories of users: the owner of the file or directory. other people in the same group as the owner; and all the others.

1 download everything on your web server.
2. go in flex-php-xml /, you will see "php" file and a few other folders.
3. by default, PHP can NOT write files to your web server. You must change the permision folder 'php' on ('w')
4. now php can write files to this folder.
5 Xml is saved in the folder 'php '.

saveXML.php is ready to go, you don't compile anything.

If you need more information about changing file/folder permision, google 'change the permissions (chmod) dir '.

Mariosh

Tags: Flex

Similar Questions

  • Where LV 2009/2010/2011 does not save the last used folder?

    Hello, where LV2009/LV2010/LV2011 saves the last used folder? I need all three versions on my development machine, and when I open a project, for example, the folder LV2010 is 'data e:\LabVIEW 2010\Projects\Project to\ ". Then I closed LV2010 and open LV2011 and when I click on 'Open' LV2011 starts in the last folder of LV2010 and NOT in my repertoire of standard data 'e:\LabVIEW BitDefender data 2011\' the same LV2011. When I opened a project in 2011, LV2010 will start in the LV2011 project. I think that information is stored within the registry HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\BagMRU regards Stefan

    I found a solution that works for me (did not find any downside to date)

    Original, I have these files:

    c:\Program Files (x 86) \National Instruments\LabVIEW 2010\LabVIEW.exe

    c:\Program Files (x 86) \National Instruments\LabVIEW 2011\LabVIEW.exe

    and the labview.ini file.

    I renamed the file as:

    c:\Program Files (x 86) \National Instruments\LabVIEW 2010\LabVIEW_2010.exe

    c:\Program Files (x 86) \National Instruments\LabVIEW 2010\LabVIEW_2010.ini

    and

    c:\Program Files (x 86) \National Instruments\LabVIEW 2011\LabVIEW_2011.exe

    c:\Program Files (x 86) \National Instruments\LabVIEW 2011\LabVIEW_2011.ini

    Now the MRU distinguish two different names to EXE and it works perfectly so far...

    If I have problems I will post that here.

  • Application does not connect to the server using WAP2.0

    Hello

    I used following code to get the suffix of the url that is required to connect to the application server using WAP2.0

           if(CoverageInfo.isCoverageSufficient(CoverageInfo.COVERAGE_DIRECT))
            {
                    //WAP 2.0
                String uid = null;
                ServiceBook sb = ServiceBook.getSB();
                ServiceRecord[] records = sb.findRecordsByCid("WPTCP");
                for (int i = 0; i < records.length; i++) {
                    if (records[i].isValid() && !records[i].isDisabled()) {
                        if (records[i].getUid() != null &&
                            records[i].getUid().length() != 0) {
                            if ((records[i].getCid().toLowerCase().indexOf("wptcp") != -1) &&
                                (records[i].getUid().toLowerCase().indexOf("wifi") == -1) &&
                                (records[i].getUid().toLowerCase().indexOf("mms") == -1)   ) {
                                uid = records[i].getUid();
                                break;
                            }
                        }
                    }
                }
    
                if(uid!=null)
                {
                    if(AppConfigurations.DEBUG)
                        System.out.println("Connected using direct WAP2.0....");
                    return ";ConnectionUID="+uid;
                }
            }
    

    I am same ConnectionUID as present in this complete book in Options in the device.

    Even application does not connect to the server using WAP2.0.

    Let me know what other things should I check to make application to connect to the server using WAP2.0.

    My phone is BB 8900 and OS 4.6.1

    WAP connection will pass through the gateway of the carrier.  This gateway can oppose your respect, or might be trying to optimize the data, or can display a login page for you.  Try the same URL that you use in your program, directly with the WAP browser on the device and see if that runs through effectively.

  • How can I get my document to save the last used rotated view?

    How can I get my document to save the last used rotated view?

    Possible with Adobe Acrobat, Adobe Reader No.

  • How to switch the setting on the server using serverListener in adf 11 g

    Hi all

    I want to know how to pass a parameter to say client javascript on the server using serverListener. I know I have to use the AdfCustomEvent.queue (source, "serverListenerOpt",
    {}, false). But do not know what is the structure of the parameter and how to get it back on the bean support.


    Thank you

    You are on the right track, in fact, the third parameter of the AdfCustomEvent.queue where you can pass parameters to the server. For example

    say you have this on your page jspx

    .............



    .............

    Your javascript should look like this:

    myClientLstnr = {function (event)}

    AdfCustomEvent.queue (event.getSource (), "sendToServer",
    ({param1: 'val1', param2: val2}, false);
    }

    Your parameter must be a valid json object.

  • create the file using flex

    Hello

    I work in flex.

    I want to create the file using flex 4.

    I use this code

    private var file:File;

    private function addfolder (): void

    {

    file = new File ("file:///C:/MyNewFolder");

    file.createDirectory ();

    }

    the error is

    Type was not found or was not a compilation constant: file.

    anyone helpme

    concerning

    Athi

    Hello

    With flex, you need to display the filereference function record. Because of the security sandbox you cannot programmatically save files or create folders, you need to open a box to browse to windows files, so the user can create a folder or save a file.

    private void testme (): void

    {

    var fi: FileReference = new FileReference();

    fi. Save ('Hello');<=== this="" would="" open="" a="" system="" file="" save="">

    }

    David.
  • remote access connection - save the server password

    I use XP remote access to access a commercial application.  Now I have to enter the Server 2008 password each time.  Because the password is very complicated and very easy to enter in an improper way and that nobody else uses my computer, I would like to have the .rdp file save this password.  In this way, all I have to do is click the .rdp file and I am in the application.  What should I do to have the registered server password?  TIA.

    Hello Sharon,

    The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.

    http://social.technet.Microsoft.com/forums/en-us/category/WindowsServer

  • Save the server model

    I made a model that returns to a banner and a flash video on the server. When I save the template on my hard drive, nor the banner or video appears on the model.  When I try to save the template on the server, I get the warning screen,"Dreamweaver stores the templates in the root of a site directory and there is no defined site."  I then go to manage sites, and then click Directory he on the server where the files html and nothing happens.  Pls advise

    1. you need to work within a local site defined in Dreamweaver use the DW models

    2. a model DW has no function on the server.  It only works in DW and only to change your local files, which must then be uploaded to the server.

    It's how you work?  Sound doesn't like it...

  • Save the customized using MS Office report Express VI filename

    When my program creates a report, I want to save it as a serial number, defined in the report.  I want to use MS Office report Express VI to do this, but unfortunately it only allows you to save the file name as time and/or incremental number.

    Hi jliu317,

    In the meantime that warn you the moderator to move your thread, here is my solution. (Correct me if I'm wrong)

    In MS Office Report, there is a block diagram entry named path to save the report. That is where you can save your report in Word (.doc) or Excel (.xls) under the name of file custom as serial number, as shown below.

    http://zone.NI.com/reference/en-XX/help/370274G-01/lvoffice/ms_office_report/

    I hope this helps.

    EE - Lim-

  • How to send data from the client to the server using tcp

    1. as I am new to watch I need help with sending data from client to server. I went through various examples of labview, but each of them also explains transfer of data to the client server. But I need help regardng send data from the server to the client.

    2.i would use the data type variant for sending my data.

    Can someone help me please. Thank you

    Regardless of the meaning. Once you have a connection each end allows it to send data to another. Just create what you want to look like interaction.

    Do you want the client sends a command that request data?
    How do you think the response data to look like?

    You can send variants, but probably not worth the effort.

    Mike...

  • Download the image to the server using the message parameter.

    Hello experts,

    I want to download an image on the server by using the post method with parameter alongsome such as file name, status, tag, deviceid, name of the device.

    Server taking some as windows credentials. I connect a .html page which, in my url, it must be all the parameter and in action, he goes to the .php file and it image upload server-side.

    I use this code, I have my tent for the last 3 days but I get no success.

    Please help me...

    My code is: -.

    private String httpConn (String file) {HttpConnection conn = null; OutputStream os = null; InputStream is = null; String url = ""; int respcode = 0; path of the Web service from which image will be transferred. URL = "" http://usertest[email protected]/admin/image_upload_iphone_app.html ";" Try {conn = (HttpConnection) Connector.open (url); conn.setRequestMethod (HttpConnection.POST); String name = "file:///" + file; FileConnection fc = (FileConnection) Connector.open (name); is = FC.openInputStream (); / * byte [] imgData = IOUtilities.streamToBytes (is); is. Read (imgData); * / byte [] ReimgData = IOUtilities.streamToBytes (is); Resize Image according to setting. Byte [] imgData = reszieImage (ReimgData); is. Read (imgData); String limit = "---14737809831466499882746641449"; String body = ""; name of the file... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; Name=\"filename\"\r\n\r\n"+"test.jpg '; body += "\r\n--" + limit + "\r\n"; tag... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"tag\" \r\n\r\n "+ 'tag'; body += "\r\n--" + limit + "\r\n"; status... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"status\" \r\n\r\n "+ 'status'; body += "\r\n--" + limit + "\r\n"; Device ID... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"deviceid\" \r\n\r\n "+"deviceid"; body += "\r\n--" + limit + "\r\n"; DeviceModel... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =-"devicemodel\" \r\n\r\n "+"devicemodel"; body += "\r\n--" + limit + "\r\n"; image... body = "\r\n--" + limit + "\r\n"; body & = "Content-Disposition: form-data; name =------'URL '; filename=\""+"test.jpg"+"\r\n '; body & = "" Content-Type: application/octet-stream\r\n\r\n ";" body & = new String (imgData); body += "\r\n--" + limit + "-" + "\r\n"; conn.setRequestProperty ("Content-Type", "multipart/form-data;" + limit); OS = conn.openOutputStream (); OS. Write (Body.GetBytes ()); OS. Close(); / * / / SEND the IMAGE int index = 0; int size = 1024; {System.out.println ("write:" + index);} If ((index+size) > imgData.Length) {size = imgData.length - index ;} os.write (imgData, index, size);} size of the index of +=; } While (index

    {0) {}} while(len>0); * / respcode = conn.getResponseCode (); } catch (Exception e) {e.printStackTrace () ;} Finally {//System.out.println ("closely connected"); try {os.close () ;} catch (Exception e) {} try {is.close () ;} catch (Exception e) {} try {() conn.close ;} catch (Exception e) {}} return Integer.toString (respcode);}}} }

    Concerning

    Pankaj Perron.

    It is a solution guys: -.

    see...

    http://wiki.Forum.Nokia.com/index.php/HTTP_Post_multipart_file_upload_in_Java_ME

  • How to send other linguistic data to the server using Http

    Hello

    How can I send data to the server except English other languages how to send to the server. Please someone help me it's urgent.

    Thank you

    Kind regards

    Bharath kumar

    Peter cool.

    problem fixed

    I use postdata String = new String (textField.getText (.getBytes("UTF-8")));

    Thank you

  • Cannot save the schema using the client - crashes ' start record contour.

    All,

    I use version 9.3.1 (yes I know we should be upgraded) and EAS installed on my machine (not web-based version).  For some reason, my computer crashed last week so I had to reinstall EAS.  After I did, I started having the problem of not being able to save a scheme and it gets stuck on the "start record sketch."

    It is not a java problem, that I'm not using the web browser.  In addition, a colleague has the same version of java and isn't in trouble. Also, I got this version of java (1.6) on my machine for months.

    Any ideas.

    Thank you

    Check: Cannot save the schema with Essbase Administration Services and Version Java JRE 1.6 (Doc ID 847487.1)

    It indicates that the client computer does not have the supported JRE versions.

  • How to store messages on my computer and at the same time to delete them on the server using IMAP connection?

    I have 100 MB space on the server. I have 1 TB of space on my computer. I want to delete the messages from the server while keeping a copy on my computer. Please tell me that this is possible and instruct me on how to do it. I am using IMAP.

    Thanks for your help.

    You use unified folders view? One of the reasons that I do not use it is that it can count.

  • Start the server using OPMN Essbase.

    Hello

    We plan to launch Essbase server using OPMN.

    Version: 11.1.2.1

    Currently, we use this line of code below in our command script to start Essbase server, but we wanted to start the Essbase.

    $ARBORPATH/bin/startEssbase.sh b

    I have gone through the document and came to know that I need to use the commnad below to start the Essbase server by using the command below.

    opmnctl startproc ias-component is EssbaseInstanceName.

    My question is, can I keep the same line of code in my existing batch script to start the Essbase Server?


    Someone at - it one called this (ias = EssbaseInstanceName opmnctl startproc component) line of code in the start menu to the top/batch scripts? As we implement first.

    Please share your thoughts and your sugguestions. your help is very appreciated.


    Thank you
    Ganesh.

    The startEssbase.sh script will start to OPMN and start the instance of essbase via OPMN

    opmnctl startproc ias-component = EssbaseInstanceName

    essbase using OPMN will start if OPMN is already running.

    See you soon

    John
    http://johngoodwin.blogspot.com/

Maybe you are looking for