User Tag List

Page 1 of 5 1 2 3 ... LastLast
Results 1 to 10 of 45

Thread: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

  1. #1
    No Products Registered

    Join Date
    Apr 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    Hello,
    I try using live receiver to connect to a database online.
    To connect i make these evenements :

    On click (button)and Len(Editext$(Name Box))>0

    do

    Disable button
    and
    start download from "localhost/........mypage.php" with post string "$Get_nom"

    The connexion is working but i can't save my Editext value on my database.

    [color:#FF6666]I don't know how to take the value of the editext and store it on the champ "nom" of my database[/color].

    Wish that you can understand my problem easily.

    Best regards

  2. #2
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    It's up to your php script to save the posted data on your database, but what's that $Get_nom thing about? Shouldn't you be posting the content of the textbox?

  3. #3
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    I think you need to change localhost to your URL

    Pretty much you can test if your script is working by putting everything into the browser window.
    If it can't return your expected data Live Reciever won't either.

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    I thought that the "localhost/........mypage.php" thing was only an example url Virtual wrote by some reason.

    Virtual: You have programmed a script located on some server that you're connecting to, right?

  5. #5
    No Products Registered

    Join Date
    Apr 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    Thanks for the answers, but i don't understand too much. I use

    start download from "localhost/........mypage.php" with post string "(Editext$(Name Box))"

    But it the same things, the id change, so i can now that and insert was done, but the champ that must receive the value of my editbox has nothing writing in it.

    so two things is alright
    First: my connexion
    second : my data received......

    the one that i want to work now is my editbox....so when i click on my submit value the text must be save on a champ "name" of my database.

    Thanks so much


  6. #6
    No Products Registered

    Join Date
    Apr 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    yeah, i have a script in php that make the connexion.

  7. #7
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    Can you put your whole URL in a web browser and see the expected results in it?

    I just want to be sure your script is working before we work on how to display the data in MMF.

  8. #8
    No Products Registered

    Join Date
    Apr 2008
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    <?php

    /*$hote="localhost";
    $user="root";
    $password="";
    $database="calcul";*/

    $con = mysql_connect("localhost","root","");
    if (!$con)
    {
    die('Could not connect: ' . mysql_error());
    }
    $query=mysql_select_db("calcul", $con);

    $id=$_POST['id'];
    $nom=$_POST['nom'];
    $score=$_POST['score'];
    $submit=$_POST['btn'];

    if($submit && $query){

    $req=mysql_query("Insert into utilisateur(`id`,`nom`,`score`) values('','$name','$score')");

    if($req){

    echo"good";
    }else{
    echo"probleme";
    }

    }


    ?>

  9. #9
    Clicker Fusion 2.5 DeveloperHTML5 Export Module

    Join Date
    Jun 2006
    Posts
    1,469
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    Another example of why Clickteam needs a server side complement product to elimate these issues and the need to relie on PHP. "MMF HTTP SERVER and DATABASE PROGRAM".

  10. #10
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module
    Nifflas's Avatar
    Join Date
    Jul 2006
    Posts
    2,613
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Live receiver, please Help!!!!!!!!!!!!!!!!!!!

    What's with all these rescent requests about that MMF should be sound/music creation software, 3d mesh designing software, and a now a server product? We already have all that for free in form of other applications, and I'd rather have all that effort spent into making MMF2 itself better. It doesn't really take that much knowledge communicating with a php script located on some server using live receiver.

    Anyways, Virtual, are you running a http server with php support on your machine, or are just having a .php file located somewhere, and assuming that you can connect to it by providing the path name to the file? I still don't understand why you are attempting to make a connection to "localhost/........mypage.php"?

Page 1 of 5 1 2 3 ... LastLast

Similar Threads

  1. Live Receiver
    By WindMagi in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 18th January 2010, 07:59 PM
  2. Live Receiver
    By nivram in forum Extension Development
    Replies: 8
    Last Post: 29th August 2009, 05:56 AM
  3. Live receiver
    By Janman in forum Multimedia Fusion 2 - Technical Support
    Replies: 20
    Last Post: 6th March 2009, 03:31 PM
  4. Live receiver
    By James in forum Released Extensions
    Replies: 16
    Last Post: 13th October 2008, 04:55 PM
  5. Trouble with live receiver
    By Virtual in forum File Archive
    Replies: 21
    Last Post: 28th April 2008, 09:22 PM

Posting Permissions

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