Flash/php/mySQL?
- Started
- Last post
- 11 Responses
- boobs
Who would be willing to help me with a wee Flash/php/mySQL problem that I'm having, without utterly humiliating me in front of everybody?
- rson0
come on just do it!
- dajaniel0
You can drop me an email for php/mysql questions... not a Flash expert though.
- dajaniel0
Shouldn't you use $firstName_field etc. instead of $_POST[firstName]? And anyway, shouldn't that be $_POST['firstName'] rather than '$_POST[firstName]'?
Also I'd seriously recommend you santise/escape any data you've collected from a form before inserting into your database, to avoid SQL injection attacks...
- vaxorcist0
I'd try:
$status = mail($to, $subject, $body);
and then send $status back to the AS3, output it somewhere and see what the $status says, or just write it to a text/log file....
- boobs0
*goes to find reference source to find out what dajaniel and vaxorcist's posts mean...
- boobs0
Let this be a lesson to you youngsters:
if you think you are about to be humiliated, you probably are...
- ********0
I ran into a very similiar problem - the php mail script has a shortcoming that sometimes causes the email sent to be labeled as spam. check this out:
- I have since tried this "patch" and it solved my problems ... all of them, I am a new person today because of it.********
- I have since tried this "patch" and it solved my problems ... all of them, I am a new person today because of it.
- boobs0
Well, I figured the problem out. vaxorcist helped, so he's entitled to a wee squeeze.
- boobs0
OK. New Problem.
How do I get the Flash file to display the echo messages from the php file?
- ********0
you dont need mysql here
- BattleAxe0
did you give this a look?
http://www.gotoandlearn.com/play…- I got the Flash>php>mySQL thing working, doing everything I want, except for showing echo message.boobs