?php
mail(my mail,You tried to send . $_GET[foo], Message);
?
You have to use $_GET or $_POST to get your variable.
I wouldn't use the mail script like this, you'll have to do some checking on
which data is passed.
mail() has a posibillity of header-injection.
Bernard
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens
Ramon Miguel M. Tayag
Verzonden: woensdag 12 juli 2006 12:14
Aan: FlashCoders Programming; [EMAIL PROTECTED]
Onderwerp: [Flashcoders] IIS vs Apache: transferring of vars
from swf to PHPproblem?
Hi everyone,
I need help.
I have a swf file with this code in the timeline:
==
var lv:LoadVars = new LoadVars();
var lv_temp:LoadVars = new LoadVars();
lv.foo = bar;
lv.sendAndLoad(test.php, lv_temp);
==
then test.php is:
==
?php
mail(my email, You tried to send $foo, Message);
? ==
The problem:
In one server (IIS), it sends but the subject just comes out
You tried to send and on another (Apache), it works: You
tried to send bar.
Is there something in IIS that I have to fix?
--
Ramon Miguel M. Tayag
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com