how to call a php file in .htaccess file

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
palani.a
Forum Newbie
Posts: 1
Joined: Wed May 12, 2010 6:16 am

how to call a php file in .htaccess file

Post 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:
User avatar
AbraCadaver
DevNet Master
Posts: 2572
Joined: Mon Feb 24, 2003 10:12 am
Location: The Republic of Texas
Contact:

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

Post by AbraCadaver »

[text]RewriteRule xmlfile.xml phpfile.php[/text]
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
Post Reply