# Help a Newbie: i need to put my php user login into Flash (using Postnuke CMS)

**URL:** <https://forum.kirupa.com/t/help-a-newbie-i-need-to-put-my-php-user-login-into-flash-using-postnuke-cms/74548>\
**Category:** Uncategorized\
**Created:** [December 30, 2004, 7:59am UTC](https://forum.kirupa.com/t/help-a-newbie-i-need-to-put-my-php-user-login-into-flash-using-postnuke-cms/74548 "2004-12-30T07:59:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![awillys](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/awillys/32/975_2.png) [@awillys](https://forum.kirupa.com/u/awillys)\
**Post date:** [December 30, 2004, 7:59am UTC](https://forum.kirupa.com/t/help-a-newbie-i-need-to-put-my-php-user-login-into-flash-using-postnuke-cms/74548/1 "2004-12-30T07:59:43Z")

</div>

Hello,

i just read the article [size=4][color=#003366] **Login** Using Flash MX, PHP, and MySQL[/color][/size]  
from [http://www.kirupa.com/developer/actionscript/authentication.htm](http://www.kirupa.com/developer/actionscript/authentication.htm)  
and thought that someone may be able to help me.  
Basically i need to do the same thing but taking my Postnuke user login/registration code.  
the PHP code is as follo:  
\<?php  
if(!pnUserLoggedIn()){  
?\>  
\<form action=“user.php” method=“post”\>Username\<input type=“text” name=“uname” size=“12” maxlength=“20”\>  
Password\<input type=“password” name=“pass” size=“12” maxlength=“20”\>\<input type=“checkbox” value=“1” name=“rememberme” /\>  
\<input type=“hidden” name=“module” value=“NS-User” /\>\<input type=“hidden” name=“op” value=“login” /\>  
\<input type=“hidden” name=“url” value="/index.php" /\>\<input type=“submit” value=“Login” /\>  
\</form\>  
\<a href=“user.php?op=lostpassscreen&module=NS-LostPassword”\>Log in Problems?\</a\>\<br\> New User? \<a href=“user.php”\>Sign Up!\</a\>  
\<?php  
}  
?\>

Any idea of how this could be done?  
Thanks in advance
