Hi all
Okay, may be a very dull question but I know virtually nothing of PHP and I reckon you old crooners could sort this easily (think I'm making a very solvable error which you guys could spot right away).
I have a Flash movie (a basic form) which sends variables to a PHP3 file, which forwards the variables to an e-mail address.
This works well, provided the PHP3 file and the Flash file are in the same server directory. But I would like to be able to call this PHP3 file from a remote location, ie: my Flash file would be on one server and the PHP3 on another. But when I test this it doesn't work.
As I said I'm probably breaking a basic rule in PHP, so here's the script I'm using:
<?php
mail($addressee, $subj, $mess,
"From:".$mail."\nReply-To:".$mail);
echo("sent=success"
?>
ie: 3 variables sent to my e-mail address, another variable (sent=success) returned to the Flash movie.
I would be eternally grateful if you could solve my bad assumption that this would work remotely, because I have several people asking for this and they don't have a PHP-supporting server.
Thanks loads
dave dave@davdesign.co.uk
^^^^^^^^^^^^^^^^
Okay, may be a very dull question but I know virtually nothing of PHP and I reckon you old crooners could sort this easily (think I'm making a very solvable error which you guys could spot right away).
I have a Flash movie (a basic form) which sends variables to a PHP3 file, which forwards the variables to an e-mail address.
This works well, provided the PHP3 file and the Flash file are in the same server directory. But I would like to be able to call this PHP3 file from a remote location, ie: my Flash file would be on one server and the PHP3 on another. But when I test this it doesn't work.
As I said I'm probably breaking a basic rule in PHP, so here's the script I'm using:
<?php
mail($addressee, $subj, $mess,
"From:".$mail."\nReply-To:".$mail);
echo("sent=success"
?>
ie: 3 variables sent to my e-mail address, another variable (sent=success) returned to the Flash movie.
I would be eternally grateful if you could solve my bad assumption that this would work remotely, because I have several people asking for this and they don't have a PHP-supporting server.
Thanks loads
dave dave@davdesign.co.uk
^^^^^^^^^^^^^^^^