# Disable Flash

**URL:** https://forum.kirupa.com/t/disable-flash/293344
**Category:** flash
**Created:** [July 27, 2009, 6:30pm UTC](https://forum.kirupa.com/t/disable-flash/293344 "2009-07-27T18:30:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Empy](https://avatars.discourse-cdn.com/v4/letter/e/858c86/32.png) [@Empy](https://forum.kirupa.com/u/Empy)
#### Post date: [July 27, 2009, 6:30pm UTC](https://forum.kirupa.com/t/disable-flash/293344/1 "2009-07-27T18:30:43Z")

</div>

Ok ive searched for so long on how to do this i simply want to use the

loadVars();

method to get a variable from a php script or even a .txt file… the thing is ive done this once before but i was using an actual php file hosted on some other server that was ALOT more than

```auto
<?php
$On = "On";
?>

```

im trying to do this so incase i want to turn off my flash (just delete or edit the php script from my private host so it would then not get the info and go to a blank frame)

ill give you my flash code here

```auto
    stop();
    On = new LoadVars();
    On.sendAndLoad("URL rather not give it out" + getTimer(), On, "POST");
    On.onLoad = function(success) {
        if (success) {
            gotoAndStop(2);
        } else {
            gotoAndStop(1);
        }
    }

```

please help me quickly
