Welcome Guest, Not a member yet? Register   Sign In
Download site structure help
#3

[eluser]Yorick Peterse[/eluser]
You should store any URL's in the database at all, unless they are external URL's. In this case you'd want your URL's to look like the following :

Code:
// http://www.yourwebsite.com/index.php/class_name/function/file_id
http://www.yourwebsite.com/index.php/downloads/file/54

Then in the controller you would fetch the DB row based on the ID that's given in the URL.


Messages In This Thread
Download site structure help - by El Forum - 07-26-2009, 08:18 AM
Download site structure help - by El Forum - 07-28-2009, 05:27 PM
Download site structure help - by El Forum - 07-28-2009, 05:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB