Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 1.0/2.0 (http://www.flasher.ru/forum/forumdisplay.php?f=93)
-   -   Передача переммених из php во flash (http://www.flasher.ru/forum/showthread.php?t=128417)

disenador 07.08.2009 16:30

Передача переммених из php во flash
 
как передать во флаш переменную $paid="yes"; из вот такого кода:


PHP код:

<?php

$RECALL 
$HTTP_GET_VARS["RECALL"];
if( 
trim($RECALL) == "" )
{
header"Location: erreur.html" );
exit(
1);
}
$RECALL urlencode$RECALL );
$AUTH urlencode"000/000/000" );

$r = @file"http://payment.allopass.com/api/checkcode.apu?code=$RECALL&auth=$AUTH);
// test for the server's response
if( substr$r[0],0,) != "OK" )
{
// the server has returned ERR or NOK : access refused.
header"Location: erreur.html" );
exit(
1);
}
$paid="yes";
?>

Пробовал методом getVars.load, но там передаютца переменние только если код такого типа: vars=one, two, three, blah, blah


Часовой пояс GMT +4, время: 18:55.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.