A Flash Developer Resource Site

Results 1 to 8 of 8

Thread: php file help

  1. #1
    Junior Member
    Join Date
    May 2005
    Posts
    4

    php file help

    Hi all,
    Thought i would ask for some help straight off the mark with my first post.
    I downloaded a tut from flashkit on making a contact form in flash emailing me the results. but i am only recieving the 'request' back
    heres the code anyway i have no experience in this stuff at all so please help
    <?

    $to = "sales@coedesign.com.au";
    $msg = "$name\n\n";
    $msg .= "$address\n\n";
    $msg = "$city\n\n";
    $msg = "$phone\n\n";
    $msg = "$request\n\n";

    mail($to, $msg, "From: My web site\nReply-To: $email\n");

    ?>

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    gold coast australia
    Posts
    179
    see the . in
    $msg .= "$address\n\n";
    this means append try
    PHP Code:
    <?php
    $to 
    "sales@coedesign.com.au";
    $msg "$name\n\n";
    $msg. = "$address\n\n";
    $msg. = "$city\n\n";
    $msg. = "$phone\n\n";
    $msg. = "$request\n\n";
    mail($to$msg"From: My web site\nReply-To: $email\n");
    ?>
    Last edited by benwalsh; 05-25-2005 at 09:18 PM.
    ...............................\\\! !///
    ................................(@@)
    ._____________o00O----<>----O00o_______________
    ___][______][_____][___
    ___][_____][_____][_______][______][______][_____][______][_____][______][__
    mnbvcxz20055

  3. #3
    Junior Member
    Join Date
    May 2005
    Posts
    4
    thanks benwalsh,
    it didnt work until i put the space before the . instead of after.
    Now it works fantastic
    Thanks heaps dude...
    PS is it warmer up your way, its freezing down here in Newcastle

  4. #4
    Senior Member
    Join Date
    Apr 2001
    Location
    gold coast australia
    Posts
    179
    not a lot warmer up here in qld but at least we won the home game at the footy again

    sorry about the code yes of course the space was wrong,the other way is something like:
    PHP Code:
     $msg "$name $address $city $phone $request
    if you are series about http://coedesign.com.au/ give it a solid html foundation, to get it listed on google and ensure it looks ok to all start with a home page that even Jakob Nielsen would read.
    Last edited by benwalsh; 05-26-2005 at 02:50 AM.
    ...............................\\\! !///
    ................................(@@)
    ._____________o00O----<>----O00o_______________
    ___][______][_____][___
    ___][_____][_____][_______][______][______][_____][______][_____][______][__
    mnbvcxz20055

  5. #5
    Junior Member
    Join Date
    May 2005
    Posts
    4
    Im still working on my site, it is only about halfway there. Yeah i will evetually do a html version and give people an option.
    The main reason for our website in the past is for a sales tool for our sales rep. Im not tooo worried about google listing as yet but when we get our canvas prints happening yeah sure it will be important.
    I have a lot to learn about getting a good ranking and stuff yet
    dont want to sound stupid but who the hell is jacob neilson hehe

    We'll get ya's in the second game, that field goal was pure luck...
    Last edited by coey; 05-26-2005 at 04:32 AM.

  6. #6
    Senior Member
    Join Date
    Apr 2001
    Location
    gold coast australia
    Posts
    179
    Jakob Nielsen is one of the most famous names in web design, run out and get his books, meanwhile google will answer your question, i am not in full agreement with jakob but suggest as a budding web designer that favours flash, you best round out your knowledge
    ...............................\\\! !///
    ................................(@@)
    ._____________o00O----<>----O00o_______________
    ___][______][_____][___
    ___][_____][_____][_______][______][______][_____][______][_____][______][__
    mnbvcxz20055

  7. #7
    Junior Member
    Join Date
    May 2005
    Posts
    4
    I wouldnt really call myself a budding web designer, i have no real interest in web design as a career. I simply just want to make my own website and save myself some money. After requesting quotes from web designers to design my site for me I thought to myself 'wow' why is it so expensive?, it cant be that hard!! and i was right its not.
    My last site was html and i dont really favour flash, I just wanted to see if i could do it.

    looked at jakob neilsen out of interest after you mentioned him. I Read some articles of his etc. he has some good points but i believe that my site is all about making an impact on the people that visit it. When you see some of the examples of our sign work you'll see why, hopefully they'll be up in a couple of weeks.

  8. #8
    Senior Member
    Join Date
    Apr 2001
    Location
    gold coast australia
    Posts
    179
    a little knowledge can be a dangerous thing

    i suggest you do spend some money on pro optomisation after you get the look and content together
    ...............................\\\! !///
    ................................(@@)
    ._____________o00O----<>----O00o_______________
    ___][______][_____][___
    ___][_____][_____][_______][______][______][_____][______][_____][______][__
    mnbvcxz20055

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