Tengo un php de este estilo:
Código PHP:
<?
Error_reporting(0);
$dir = 'C:\\Server files\Account';
if(!$_POST){
echo '<form action='.$_SERVER['PHP_SELF'].' method=post>
<br><b>Cuenta:</b>
[.................................]
}
else{
$account = $_POST['account'];
$confirm = $_POST['confirm'];
$date = date('F d, Y g:i A');
$password = $_POST['password'];
$email = $_POST['email'];
$rname = $_POST['rname'];
$question = $_POST['question'];
$year = $_POST['year'];
$mes = $_POST['mes'];
$dia = $_POST['dia'];
$gender = $_POST['gender'];
$answer = $_POST['answer'];
$ip = $_SERVER['REMOTE_ADDR'];
$firstletter = substr($account, 0, 1);
$ascii = ord($firstletter);
$filename = $dir . 'ASCII'.$ascii.''.$account.'.txt';
[....................................]
$fp = fopen($filename, 'w+');
$string = 'Account Created: '.$date.' With the IP: '.$ip.'
[NAME]
account-name = '.$account.'
[PASSWORD]
account-password = '.$password.'
[................................]
$write = fputs($fp, $string);
fclose($fp);
echo 'Cuenta Creada Satisfactoriamente.';
}
}
?>
Lo que yo qeria era pasar las variables $mes = $_POST['mes']; y
$dia = $_POST['dia']; a flash. Se puede hacer eso?
Muchas gracias de adelanto
ArgoN