Challenging problem
Posted: Tue Feb 20, 2007 6:15 am
Hi,
This could be challenging.
Im working on a software which should publish feed urls. Now I want a central file where I can implement the business logic so that my various links will work. The business logic will be like Ill query the database and retrieve the url_id and other parameters of the url based on which my urls will output the data. So how can I do that. The software has rewrite rules restriction.
In short , one file being called by multiple urls, and file outputs the data in according to url. Otherwise to say one script will be called when multiple urls contain some server name plus with one extrastring.
and extrastring index.php has the code written it so that all the urls with
all of the above urls script executed in extrastrings index.php
Kindly throw some of your ideas that how one can implement this.
Thanks
This could be challenging.
Im working on a software which should publish feed urls. Now I want a central file where I can implement the business logic so that my various links will work. The business logic will be like Ill query the database and retrieve the url_id and other parameters of the url based on which my urls will output the data. So how can I do that. The software has rewrite rules restriction.
In short , one file being called by multiple urls, and file outputs the data in according to url. Otherwise to say one script will be called when multiple urls contain some server name plus with one extrastring.
Code: Select all
http://server_name/extrastring/anythingfromhereand extrastring index.php has the code written it so that all the urls with
Code: Select all
http://server_name/extrastring/one1
http://server_name/extrastring/kate_winslet/
http://server_name/extrastring/tom_hanks/all of the above urls script executed in extrastrings index.php
Kindly throw some of your ideas that how one can implement this.
Thanks