ooops, sorry, my fault. 2nd par is the target, not the source, right
Am 11.04.2007 um 17:51 schrieb T. Michael Keesey:
On 4/11/07, Lars Schwarz <[EMAIL PROTECTED]> wrote:
you are sending an empty loadvars object... returning an empty post
array
when doing so is a feature, not a bug :)
_send_lv.sendAndLoad("testing.php", _send_lv, "post");
No, _send_lv.sendAndLoad("testing.php", _result_lv) will send
_send_lv, not _result_lv. I'm not sure what the "result" variable is
supposed to be, and there are no handlers defined for doing something
when it loads, but, other than that, it looks okay.
Am 11.04.2007 um 16:59 schrieb Jer Brand:
> This just gets weirder and weirder.
>
> Based on a few pages found in google with people having the same
> issue, I
> tried switching out sendAndLoad() with send(), and the data gets
> posted.
> Switch it back to sendAndLoad() and it fails.
>
> I've reduced this code to the simplest possible, in the PHP and
the AS
> including a new swf with nothing more than the code below on frame
> 1. There
> are still no variables in POST -- firebug shows them empty. I've
also
> created a simple HTML page and posted to testing.php, and this
> works fine.
>
> Has anyone seen this before? I've been through quite a few pages
> listing
> this same problem, and none of those forums/pages has a solution.
>
> Example at: http://aut0poietic.us/quiz/sendloadtest.html
>
> ActionScript:
>
> var _send_lv = new LoadVars() ;
> var _result_lv = new LoadVars() ;
> _send_lv.pleasePost = "Bite Me" ;
> var result = _send_lv.sendAndLoad("testing.php", _result_lv) ;
>
> PHP (testing.php)
> print("POST\n") ;
> print_r($_POST) ;
> print("GET\n");
> print_r($_GET) ;
>
> response (from firebug)
>
> POSTArray
>
> (
>
> )
>
> GET
>
> Array
>
> (
>
> )
_______________________________________________
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
bitrocker & typographique
Lars Schwarz
Gottorpstrasse 20
26122 Oldenburg
T +49(0)441 2171 354 0
F +49(0)441 2171 354 2
M [EMAIL PROTECTED]
W www.bitrocker.com
W www.typographique.de
_______________________________________________
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