# \[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/61267
**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/61267 "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/61267/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: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### 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/61267/2 "2004-08-18T05:43:02Z")

</div>

Any help please ?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### 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/61267/3 "2004-08-24T23:26:40Z")

</div>

I havent got around to learnin php yet sorry.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### 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/61267/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…
