A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: [F9/AS2] phpMyAdmin Upload Form?

  1. #1
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576

    [F9/AS2] phpMyAdmin Upload Form?

    Greetings,
    I have created a little music player for a friend, but due to her constant wanting to change her song, I was hoping to create some kind of form for her to change it herself. I've been using loadVars in Flash on other similar projects, but unfortunately I don't know the php(?) half of it.
    I was hoping that someone could point me in the direction of a tutorial explaining how to create a phpMyAdmin form. There would need to be variables for a text field for Artist, a text field for Song Title, & then an upload form for uploading a new song.
    So, I guess it would need to spit out something like :

    artist=My Band&title=My Song&path=Song1.mp3

    I know the Flash part & what to do to make it work in there, I just need to know how to make the php end...

    Any help would be greatly appreciated
    1 Infinite Loop, Cupertino is a portal of Hell.

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    i have a file online, feel free to download, dissect and modify

    http://www.jackleaman.co.uk/test/writefile/write.html

    to overwrite the text file content, simply change the php from "a" to "w" -

    $myfile = fopen("test.txt","w");

  3. #3
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576
    awesome! thank you!

    ~ wait, is that just an html file?
    Last edited by gotoAndCrash; 08-13-2007 at 09:26 AM.
    1 Infinite Loop, Cupertino is a portal of Hell.

  4. #4
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    ~ wait, is that just an html file?

    ?? ??

  5. #5
    [Horse Thief] gotoAndCrash's Avatar
    Join Date
    May 2007
    Location
    NW, USA
    Posts
    576
    ah-HA!! when using safari, nothing is displayed...
    but I pulled it up in Ffox & there it was!
    Thanks again!
    1 Infinite Loop, Cupertino is a portal of Hell.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center