# Send Data (not in form) to PHP

**URL:** <https://forum.kirupa.com/t/send-data-not-in-form-to-php/187699>\
**Category:** flash\
**Created:** [May 1, 2006, 5:47pm UTC](https://forum.kirupa.com/t/send-data-not-in-form-to-php/187699 "2006-05-01T17:47:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nickf828](https://avatars.discourse-cdn.com/v4/letter/n/5daacb/32.png) [@nickf828](https://forum.kirupa.com/u/nickf828)\
**Post date:** [May 1, 2006, 5:47pm UTC](https://forum.kirupa.com/t/send-data-not-in-form-to-php/187699/1 "2006-05-01T17:47:20Z")

</div>

Hi, I’m pretty new to flash, and have a bit of a problem, so any help would be very helpful.

I have a page on my website that allows users to download some files using filereference. When the user clicks on the button to start the download, I want to pass the name of the button (the name of the file they are downloading) to a php script to put in my database, so I have a record of who download what.

I have no problems passing normal form data to php using the loadvariables, but since I want to send info that is not an input text box, I have no idea how to go about doing this.

Any help or suggestions on how to do this would be great. Thanks so much!
