Creating a blogservice |
[eluser]R. Oerlemans[/eluser]
Hello There, My next project will be a blogservice, writed in CI. But i have a question where you hopefully have the answer on. For example my siteadress is www.blogservice.com. Whene a user register with the username hellothisismyusername his/her adress is: hellothisismyusername.blogservice.com. When a visitor come to the url with a username before the . (dot) I want codeigniter select the controlers out of the folder: / controllers / blogs Is there a possibility to easy fix this? In the query's after that is want to use: ->where('b_id' = $_bloginfo['blogid']); $_bloginfo contains all the info (username, blogname, blogid) from that blog. Is there an easy way to fix things like this? Thank you very much. Kind Regards, R. Oerlemans |
Messages In This Thread |
Creating a blogservice - by El Forum - 08-16-2009, 04:15 PM
Creating a blogservice - by El Forum - 08-16-2009, 05:54 PM
Creating a blogservice - by El Forum - 08-17-2009, 04:59 AM
|