mysql - How should I manage a PHP database-driven website with lots of pages/content? -
It should be known that I have the experience of creating websites with only 5 or 6 pages, like a PHP gaming journalism site
The first problem I would like to make is to manually create a page for each game article; That road was not working clearly so I decided to store all the articles in a database.
There was a problem storing content in a database how to get them back. I have attached a GET variable to the URL, so I can recover any article from the index.php file; However, I could not hide the GET variable from the URL, so I betrayed that method. I do not have any free cash to buy CMS and I have tried very free people like Drupal like very frustrating.
Do I have to generate a separate php file for each article? What will happen to a professional / giant in my situation?
First, I would like to state that if you have trouble installing Drupal Wordpress or similar free CMS For, you are discovering patience from hard scratch to be one to be able to find patience.
After saying that you are looking at a specific request, I believe that you have a single file, which will, in turn, request the appropriate file to close the hand Want to use mod_rewrite by funnel your request through Drupal, for example, uses the following rules:
RewriteCond% {REQUEST_FILENAME} -f RewriteCond% {REQUEST_FILENAME} -d RewriteCond% {REQUEST_URI} = / favicon.ico RewriteRule ^ (. *) $ Index.php? Q = $ 1 [L, QSA] Which one single variable, the routes in 'Q', your URL
Comments
Post a Comment