I'm moding a theme for MU, and I'm working on a way to get different graphics for the different blog (using the same theme) base on the url that calls WordPressMU. Exapmle being:
mysterygirlz.01comics.com : I need the "mysterygirlz" part
greenman.01comics.com : I need the "greenman" part
superman.01comics.com : I need the "superman" part
I gonna use that as the directory name that will contain the different graphics. I figured out that php code - bloginfo('name'); will give you the actual title name of the blog (what you've titled the blog) Such as the mysterygirlz.01comics.com blog title being Mystery Girlz. But I'm needing to get the mysterygirlz part out of the calling url- http://mysterygirlz.01comics.com
There's gotta be a way other wise how does MU know which blog to pull out of the database.
Any and all help would be greatly appreciated.
Thomas @ 01Comics: Web Comics Online
thomas@01comics.com