Page 1 of 1

how to call a php file in .htaccess file

Posted: Wed May 12, 2010 7:07 am
by palani.a
Hi,

I have displaying a flash .swf file, in which contents like images and title etc are taken from "xmlfile.xml" file (this xml file is static) .

and i have generated a script dynamically in php "phpfile.php", in which i have the above xmlfile contents.

by default now , flash file is calling the xmlfile.xml but i want to call the phpfile.php.

so please advice me how to call the phpfile.php directly in .htaccess file without calling the xml file .

Please advice me..

thanks in advance, :roll:

Re: how to call a php file in .htaccess file

Posted: Wed May 12, 2010 12:01 pm
by AbraCadaver
[text]RewriteRule xmlfile.xml phpfile.php[/text]