dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: php forms

  1. #1
    Member
    Join Date
    Dec 2002
    Location
    somewhere in the south atlantic
    Posts
    77

    php forms

    hi everyone,

    i use to make all forms of my proyects for cgi and asp use,
    now i change servers and the new one only uses PHP,
    im not strong in programming and as i know anything about how to deal with PHP,
    i need some help on how to make a simple form and php code for this forms,

    the forms are basically normal, with the details of the person to fill it up (name, mail, add, message, etc)
    and they have a title which difference one from each other, so the receiver knows from which chapter of the site it is about.

    could anyone of you give me a hand on this ??
    ive read some tuturials but they are really a mess, at least for me, and they mix php with pearl, etc,
    should be a clear and simple way of doing it,

    ok thanks in advance,

    regards,

    m

  2. #2
    hey oceanus,

    first send your variables to a php script
    ->{loadVariablesNum("mail.php",0,"POST");

    the php script should be something like


    $subject="subject of mail";
    $to="someone@something";
    $from="From:$Email;";
    $content.=$variable1."\n";
    $content.=$variable2."\n";
    .
    .
    .
    mail($to,$subject,$content,$from);

    This script creates an email with the variables from your flash movie.

    Hope to help you out
    7dirk

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