FlashVacuum Forum Index
FlashVacuum Forum IndexForum Index    FAQFAQ    SearchSearch    StatisticsStatistics    ShouBboxShoutBox    RegisterRegister    Log inLog in       
FlashVacuum Forum Index >> Flash Remoting with AMFPHP >> Flash & PHP contact form
Post new topic   Reply to topic Users browsing this topic: 0 Registered, 0 Hidden and 0 Guests
Registered Users: None
View previous topicEmail this thread to a friendPrinter-friendly versionLog in to check your private messagesView next topic
Author Message
Warrior
FV Tut Master


Joined: 17 Nov 2003
Posts: 222
Location: London
uk.gif
Local Time: 1:30 am

Status: Offline

PostPosted: 11/3/2004, 1:38 am    Post subject: Flash & PHP contact form Reply with quote

I just installed a webserver and wanted to test the script that's loaded in flash to send e-mails. Is there any way to receive e-mails from a script that's hosted on my computer in the WWW file?
Back to top
View user's profile Send private message MSN Messenger
[ IP : Logged ]   
aurelius
Site Admin


Joined: 24 Jul 2003
Posts: 1769
Location: somewhere in thomistic metaphysics...
uk.gif
Local Time: 2:30 am

Status: Offline

PostPosted: 11/4/2004, 11:59 am    Post subject: Reply with quote

What's the webserver and what language is the script? Is it Apache and PHP?
_________________

www.absconditus.com // experiments in actionscripted graphic design

"There's no point in doing decorative design...
it would just interfere with what I had to say..."
// Scott King
Back to top
View user's profile Send private message Send e-mail Visit poster's website
[ IP : Logged ]   
Warrior
FV Tut Master


Joined: 17 Nov 2003
Posts: 222
Location: London
uk.gif
Local Time: 1:30 am

Status: Offline

PostPosted: 11/4/2004, 12:32 pm    Post subject: Reply with quote

yep, both.
Back to top
View user's profile Send private message MSN Messenger
[ IP : Logged ]   
aurelius
Site Admin


Joined: 24 Jul 2003
Posts: 1769
Location: somewhere in thomistic metaphysics...
uk.gif
Local Time: 2:30 am

Status: Offline

PostPosted: 11/4/2004, 3:04 pm    Post subject: Reply with quote

Well, the first thing to do, I guess, is make sure your PHP mail() function is working. You can just create a simple PHP file to test it. Save this as 'mail_test.php':

PHP:
<?php

// here are some variables, alter them as you wish
$send_to_address = "warrior@youraddress.com";
$subject = "Test Email";
$message = "This is the message. Did you receive this?";

mail ($send_to_address, $subject, $message);

?>


Set the '$send_to_address' variable to your own email address, as that's where the mail will get sent. Then upload the file to your server and then open mail_test.php in a browser. If it works, you should see a blank page in the browser (no errors displayed) and you should receive an email within a few minutes.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
[ IP : Logged ]   
Display posts from previous:   
View previous topic :: View next topic  

Summary Rating For >> Flash & PHP contact form

Average Rating: 0.00 :: Min Rating: 0 :: Max Rating: 0 :: Number of Ratings: 0

You are not authorized to rate this topic
FlashVacuum Forum Index >> Flash Remoting with AMFPHP >> Flash & PHP contact form
Post new topic   Reply to topic
View previous topicEmail this thread to a friendPrinter-friendly versionLog in to check your private messagesView next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Jump to:  



Page generation time : 0.4693s  (PHP : 89%  -  SQL : 11%)   -   SQL queries : 25   -   GZIP : Disabled   -   Debug : On   -   Server Load : 6 pages served in past 5 minutes.