Re: avoid calling php script
| From: | Wolf | Date: | Thu, 13 Mar 2008 04:20:36 +0000 |
| Subject: | Re: avoid calling php script | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271472@lists.php.net to get a copy of this message | ||
H u g o H i r a m wrote:
Hello I have a swf that runs a PHP script that generates a XML, on the PHP is there any way to detect if the file is being called from the swf or from the browser? because I want to avoid the file being run directly from the browser or from any other file than the swf. regards, Hugo. Install Firebug extension for your Firefox browserLoad your page in the browser with firebug running Watch the calls being made and that should answer the question You can also look at the web server logs to see which page is calling your script. Wolf