How is forum made? How ends of URLs are generated? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How is forum made? How ends of URLs are generated?

Hi (it's my first 'hi' so I should write 'Hello people!')! Actually I'm training in PHP and databases and now I'm looking for solution of few problems (but I can't find). Is someone here, who know the answers? - How to create a forum (explicate)? I'm not telling bout complete solutions as phpBB etc. - New posts are based on script that create new file? If yes, how end of url address is generated? I'm talking about www.xyz.com/posts/->how-end-of-url.php or /post5321.php. Thanks in advance and welcome again

9th Feb 2017, 12:45 AM
SentalPL
SentalPL - avatar
1 Answer
+ 1
From a database perspective you call the post dynamically so it generates domainname/postname. Also if you call these as actual pages with php extension then it will be appended domainname/page.php Keep in mind PHP is database driven, dynamic not static, so you can even programmatically create urls.
11th Feb 2017, 6:38 AM
Andre van Rensburg
Andre van Rensburg - avatar