Results 1 to 2 of 2

Thread: Best Language for this?

  1. #1
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Arrow Best Language for this?

    I want to have a user input text in a text field like "2008-6-30_today" ($file below) i then want that to create 5 xml files with that name each a different name in front and extension at end like "/video/2008-6-30_today.xml" inside that file i have xml script i'm putting in in which that same file name will locate other files. I was trying to do this with php and flash but couldnt do it. I was thinking flash might not be the best way possibly java or php alone without flash or an html form. I'll write what i want it to do in a mix of languges cause i dont know how i'd do it in one
    ----display page-----
    Name: [input field called $file]
    submit button [hit]
    ---hit state----
    on (release) {
    create file ("video/$file.xml");
    create file ("photo/$file.xml");
    create file ("text/$file.xml");
    create file ("podcast/$file.xml");
    create file ("speech/$file.xml");
    in "video/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "photo/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "text/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "podcast/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "speech/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    }
    on(keyPress "<Enter>") {
    create file ("video/$file.xml");
    create file ("photo/$file.xml");
    create file ("text/$file.xml");
    create file ("podcast/$file.xml");
    create file ("speech/$file.xml");
    in "video/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "photo/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "text/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "podcast/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    in "speech/$file.xml" write "yadayadayada xml scripts and such" $file "dont want anyspaces between them yadayadayada" $file "more xml etc."
    }

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Try JavaScript and AJAX. Don't know JavaScript or AJAX? Use W3Schools. I have actually tried to accomplish what you are trying to do with AJAX. I included a .XMLHTTP activeX control thing and it worked. Hope it works for you!

    -magicyte

Bookmarks

Posting Permissions

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