![]() |
Everything by URL's or by separate .php files
I am wanting to know which would be a better way of handling things
URL vars, as say if you made a CMS, and you wanted to add news you'd have a URL as such: http://www.example.com/admin/?act=addnews&id=1 Or shall I go with doing this: http://www.example.com/admin/news.php?act=add or http://www.example.com/admin/news.php?act=del&id=1 :S?? |
Quote:
|
Quote:
|
Best to separate the files, makes for easier to manage and read code.
|
Quote:
|
Quote:
|
| All times are GMT. The time now is 09:57 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0