HI, I want to creates a system where each posting is converted into a flat file. not to be stored in the DB. If you see the following site : http://www.dzone.com/links/raganwald_hardcore_concurrency_considerations.html they are converting every post into html files and assigning seperate link. normally in html files we can't use the dynamic scripts. Can anyone give me ideas how can we achive these types of programming. Please help me.
They are probably just using mod_rewrite to convert URLs so they look like they're static files. Is that what you want or you really want to use flat files (not a good idea)?
Thanks for the reply. I am reading the article. they mentioned as "You'll also need to have write access to this file, and access to restart the Apache.". I am using Godaddy server. how can i restart the server? will it update the file without restarting.
HI, is the following enrty is correct: RewriteEngine on RewriteRule ^(.*).index.php index.html .index.php will converted as .html. is it correct? its not working for me.
it should be like this: RewriteEngine on RewriteRule ^index.php index.html Code (markup): why you'd like to convert php to html? if the file in your server is index.php, and you want when anyone call index.html will output of that index.php, this is what you need RewriteEngine on RewriteRule ^index.html index.php Code (markup):
yup, they are using mod_rewrite. you might need to write this code in the .htaccess file on your server. this file is mostly present in the directory where all your other webpages reside