Php

Hello i’m using mx2004 anyways… what are you guys using for your emails.?

I was fallowing this php script it doesn’t work for me,
what would be the best solution to get my email to work. Can someone take a look ? here is the fla and php
thanks :hair:

<?php
$subject=“My Internet Feedback”;
$messager = "From:\r < “.$_POST[‘email’].” >
Subject:\r “.$_POST[“subject”].“
Message: \r”.$_POST[“message”];
echo “response=Thank You for your Feedback. Your response has been recorded.”;
mail("some@some.com”, $subject, $messager);
?>

This is the simplest way. But keep in mind the following:

  1. If the server u r using is unix and u made the files on the windows platform then ftp the PHP file in the ascii mode.

  2. Your PHP file should be in the exact domain, otherwise you need to change the security settings in Flash 2004. Which I am figuring out myself as we speak.

  3. But if you test the file from Flash environment using CTL+ENTER, your email should work. (PHP script should be already on the server).

I hope this information helps.

ken the other day i wrote about a 50 line explanation only to find when i hit submit you deleted the thread.

so what your saying is Harpreet i can test my email form from flash withought having to put it up on the sever?
Sorry Digitalosophy i thought i was asking to much from the guys on kirupa

yes… you dont need to put the swf on the server… but ofcourse ur PHP needs to on the server.
once that works i will further guide you if u need help.
Also make sure ur PHP file has the right permissions if on the UNIX server

cheers

Ok I see now! Great now I understand thanks for the input Harpreet . :slight_smile: