# Sending variable to php page - login page

**URL:** <https://forum.kirupa.com/t/sending-variable-to-php-page-login-page/252355>\
**Category:** flash\
**Created:** [February 19, 2008, 11:50am UTC](https://forum.kirupa.com/t/sending-variable-to-php-page-login-page/252355 "2008-02-19T11:50:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pilot](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@Pilot](https://forum.kirupa.com/u/Pilot)\
**Post date:** [February 19, 2008, 11:50am UTC](https://forum.kirupa.com/t/sending-variable-to-php-page-login-page/252355/1 "2008-02-19T11:50:27Z")

</div>

I’m trying to login to a password protected php page through a form in flash.  
When the user provides correct information the flashmovie opens a php-page, but how do I protect the php page from unautorized accesses?

Can I send a variable containing the user/pass given?  
I know I could tell flash to “getURL [www.address.com/admin.php?user=user&pass=12345](http://www.address.com/admin.php?user=user&pass=12345)”, but then everyone who checks history can access the page without even having to access the flash page…

Anyone getting what I mean?

Thanks!!  
Regards,  
Michael
