Показать сообщение отдельно
Старый 07.08.2009, 16:30
disenador вне форума Посмотреть профиль Отправить личное сообщение для disenador Найти все сообщения от disenador
  № 1  
Ответить с цитированием
disenador

Регистрация: Jul 2009
Сообщений: 12
По умолчанию Передача переммених из 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