Jump to content

News story archival


careym1989

Recommended Posts

Hello again, PHP Freaks!

 

Could someone point me out to a tutorial that would catch all inserted news stories into an archive and give them a file name under the subdirectory /archive/?

 

For example, a story with the ID of 1944 would be located in full at:

www.mydomain.com/archive/1944.php

 

Thanks a lot!

 

-Carey

Link to comment
https://forums.phpfreaks.com/topic/124990-news-story-archival/
Share on other sites

Or you could just use mod_rewrite to rewrite the URL behind the scenes to www.mydomain.com/archive/archive.php?article=1944 but the user would still see www.mydomain.com/archive/1944.php

Look up some mod_rewrite tutorials, it's quite nifty. :)

Link to comment
https://forums.phpfreaks.com/topic/124990-news-story-archival/#findComment-646082
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.