Welcome, Guest
  • Author Topic: Flash not sending Variable  (Read 5789 times)

    nobby

    • Server what's that
    • *
    • Posts: 13
      • View Profile
    Re: Flash not sending Variable
    « Reply #15 on: 05/03/05, 07:17 »
    Hello Jorge,

    I tested the save_txt.swf and save.php file on my server and again when I executed the .php script it created the file, but when I tried to send it from the flash again it wouldnt communicate with the save.php. I think your right there is obviously some kind of rule on my server that does not allow flash to communicate with PHP. Could you tell me what I need to ask my hosting company to change please, if you know that is :)

    All I need to do now is get the ecards.swf talking to the sendEcard.php file and it will all work. Hope you can help

    Thanks :)
    Nobby

    p.s. If you want to have a look at the save_txt stuff go here
    http://server10.web-mania.com/users/alienfxr/savetext/save_txt.swf
    « Last Edit: 05/03/05, 07:19 by nobby »

    Jorge Solis

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 14616
      • View Profile
    Re: Flash not sending Variable
    « Reply #16 on: 05/03/05, 07:52 »
    probably PHP is running in safe_mode, explain the problem to your provider.

    Jorge

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re: Flash not sending Variable
    « Reply #17 on: 05/03/05, 14:19 »
    Hi,

    I just tried it and the server accepted the dta without complaint - now it remains to be seen whether it sends a mail (and what is in it)

    Musicman

    nobby

    • Server what's that
    • *
    • Posts: 13
      • View Profile
    Re: Flash not sending Variable
    « Reply #18 on: 05/04/05, 12:35 »
    Hey Musicman,

    What accepted the data? the save text stuff or the e-cards? If it was the E-card did you recieve the email? and what was innit and if it worked for you why isnt it working for me?? haha this is sooo confusing :S

    Nobby

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re: Flash not sending Variable
    « Reply #19 on: 05/04/05, 16:29 »
    Hi,

    unfortunately no mail....
    When you fill the form and click send, data go to the server ... and at this point the server sent a 200 OK status, no messages at all.
    If there is a print statenebt in the php code, then this was bit reached.
    Things you could try: comment the mail sending part and check whether data is added to the server;, make a simple script that just sends a mail (with fixed recipient, message, etc)

    Musicman

    nobby

    • Server what's that
    • *
    • Posts: 13
      • View Profile
    Re: Flash not sending Variable
    « Reply #20 on: 05/05/05, 06:47 »
    hey there musicman,

    I checked my server and you are right the data you submitted was there :) which is a good start... I tested the mail function on my server with the testmail.php script that was on these boards... the script executed correctly but i never recieved mail :( I dont know why because I contacted my hosting company and they said php mail function was enabled :S n e ideas?

    Thanks for the help
    Nobby

    Musicman

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 2685
      • View Profile
      • Email
    Re: Flash not sending Variable
    « Reply #21 on: 05/07/05, 01:33 »
    Hi,

    probably your next step should be to forward a copy of the testmail script to your host and ask why it does not work.
    Be sure that the script includes a reasonable From part, like

    mail('you@somewhere.com', 'test message', 'test message', 'From: webserver@yoursite.com')

    Without the from part the mail may arrive at your mailbox as "From: nobody@hostingcompany.com" or even weirder addresses and might be dropped by a spam filter

    Musicman

    nobby

    • Server what's that
    • *
    • Posts: 13
      • View Profile
    Re: Flash not sending Variable
    « Reply #22 on: 05/07/05, 10:22 »
    HELLO JORGE AND HELLO MUSICMAN!!!

    I CRACKED IT!!!!  :D :D :D :D

    I have no idea what I did differently but I re-followed the tutorial and re-uploaded and all is well! it works now!!
    I just want to thank you both so much for your help and support. I am one happy code munkey!

    Thanks again!
    Nobby