A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: help me! how to use php

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Location
    mgl
    Posts
    6

    help me! how to use php

    hi all!
    tell me how to read file and add to db it.


    thanks for all
    :shhh

  2. #2
    Senior Member
    Join Date
    Nov 2000
    Posts
    302
    Hi Igora,

    there are many ways. What do you want to read/store?
    You can use: ASP, SQL, CF, XML, CGI ........

    cYa.
    [swf width="300" height="40" background="#FFDDBB"]http://www.cid-iv.com/flash/Banner/footer.swf[/swf]

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Location
    mgl
    Posts
    6

    thank you,Ivo

    I wont to read "*.txt", "*.doc" ... and then index it. So, add to database this index. I am beginner in PHP,ASP. I can use C++,VB,SQL ,..


    Is it possible?

    glade to meet you
    :shhh

  4. #4
    Junior Member
    Join Date
    Jul 2003
    Location
    mgl
    Posts
    6

    thak you, Ivo

    I wont to read "*.txt", "*.doc" ... and then index it. So, add to database this index. I am beginner in PHP,ASP. I can use C++,VB,SQL ,..


    Is it possible?

    glade to meet you
    :shhh

  5. #5
    Senior Member
    Join Date
    Nov 2000
    Posts
    302
    You can read the txt files without any probs in Flash. Use the loadVariablesNum() function. State your variables like such: "&txt1=Your text goes here".

    To write to textfiles you must use a CGI-script. Look for a standard 'write to' script on a CGI-code-site and use that. There are also some tuts on using CGI and Flsh on Flashkit or else at MM.

    cYa
    [swf width="300" height="40" background="#FFDDBB"]http://www.cid-iv.com/flash/Banner/footer.swf[/swf]

  6. #6
    Junior Member
    Join Date
    Jul 2003
    Location
    mgl
    Posts
    6

    new problem

    thank you, Ivo

    I can read and write file use PHP.
    but ..I can't use flash variables.

    for example:
    I use following script connect PHP:

    //flash script
    on(press){
    loadVariablesNum("read.php?info",0,"POST");
    }

    and I wont to show data in info;
    //php script
    print "$info=$data";
    //$intro is flash var, $data=fread($fp,$filename)
    it is not running;
    why?
    sorry I'm begginner
    please help!
    :shhh

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