Hi!
I’ve made a login system for my site using SESSIONS, when you log-in have one little pannel when appear ur name… in PHP it’s simple…
<? echo $_SESSION[“user”]; ?>
but now i want to make this “panel” in flash, but i haven’t any idea about how to do it in flash…
Someone can help me???
Do some reading about “LoadVars”. If you already know how to do it in HTML, transitioning into flash is pretty easy.
i’m trying… but doesn’t work :(… can you help me?
definately, post the code you have already, PHP and AS
(actionscript tags = [ as ] some actionscript [ /as ] without the spaces)
<table width="340" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2"><div align="center" class="title">You are logged! </div></td>
</tr>
<tr>
<td width="70"><span class="title">Username:</span></td>
<td width="270"><span class="cont"><? echo $_SESSION['user']; ?></span></td>
</tr>
<tr>
<td><span class="title">E-mail:</span></td>
<td><span class="cont"><? echo $_SESSION['email']; ?></span></td>
</tr>
<tr>
<td colspan="2"><div align="right"><span class="logout"><a href="logout.php">Logout</a></span></div></td>
</tr>
</table>