# \[FMX\]\[PHP\] How to deny access if a PHP script is not called from a particular flash?

**URL:** https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686
**Category:** Uncategorized
**Created:** [August 17, 2004, 11:19am UTC](https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686 "2004-08-17T11:19:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![amitgeorge](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@amitgeorge](https://forum.kirupa.com/u/amitgeorge)
#### Post date: [August 17, 2004, 11:19am UTC](https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686/1 "2004-08-17T11:19:41Z")

</div>

HI

I am loading some variables form database.

The PHP will echo data in the manner which flash understands.

My flash file will use those values and display them.

Now it is absolutely [font=Verdana][size=2][color=black][font=Times New Roman][font=Verdana][size=2]necessary[/size][/font] [/font][/color]that the PHP file denies access if it is called from any where else.[/size][/font]

I think some REFERER can be used but i am not sure.

If this is not the appropriate form please guide me.

Regards

amitgeorge

---

<div class="post-metadata">

### Author: ![amitgeorge](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@amitgeorge](https://forum.kirupa.com/u/amitgeorge)
#### Post date: [August 18, 2004, 5:43am UTC](https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686/2 "2004-08-18T05:43:02Z")

</div>

Any help please ?

---

<div class="post-metadata">

### Author: ![Skinny\_T](https://avatars.discourse-cdn.com/v4/letter/s/eada6e/32.png) [@Skinny\_T](https://forum.kirupa.com/u/Skinny_T)
#### Post date: [August 24, 2004, 11:26pm UTC](https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686/3 "2004-08-24T23:26:40Z")

</div>

I havent got around to learnin php yet sorry.

---

<div class="post-metadata">

### Author: ![RvGaTe](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/rvgate/32/126_2.png) [@RvGaTe](https://forum.kirupa.com/u/RvGaTe)
#### Post date: [August 24, 2004, 11:44pm UTC](https://forum.kirupa.com/t/fmx-php-how-to-deny-access-if-a-php-script-is-not-called-from-a-particular-flash/119686/4 "2004-08-24T23:44:51Z")

</div>

[http://www.php.net/reserved.variables](http://www.php.net/reserved.variables)

just look trough all the variables available, there should be something usefull in there…
