Jump to content


Photo

forms & creating subdomains via PHP


  • Please log in to reply
4 replies to this topic

#1 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 12 September 2006 - 12:16 AM

How is it done like creating a subdomain in PHP?
(and if you ask be specific thats specific as i can be sorry its just straight to the point)

#2 gijew

gijew
  • Members
  • PipPipPip
  • Advanced Member
  • 240 posts
  • LocationCalifornia

Posted 12 September 2006 - 12:18 AM

That's actually still fairly vague in my opinion.

You should create the subdomains through your server configuration not PHP.  It all depends on what type of control panel you use.  It's more then likely Cpanel.  Just look for "sub domains" and the rest is "straight forward"
I'm considered good looking in some countries

#3 tomfmason

tomfmason
  • Staff Alumni
  • Advanced Member
  • 1,696 posts
  • Locationstealing your wifi

Posted 12 September 2006 - 12:25 AM

If you do not use a control pannel then it you will have to update the zone file for the domain and ether the httpd.conf or set a new rewrite rule.

So basicly you will need to study up on the file system functions

Good Luck,
Tom

Traveling East in search of instruction, and West to propagate the knowledge I have had gained.

current projects: pokersource

My Blog | My Pastebin | PHP Validation class | Backtrack linux


#4 Demonic

Demonic
  • Members
  • PipPipPip
  • Advanced Member
  • 562 posts

Posted 12 September 2006 - 12:32 AM

removed.
ill see what i can do.

#5 gijew

gijew
  • Members
  • PipPipPip
  • Advanced Member
  • 240 posts
  • LocationCalifornia

Posted 12 September 2006 - 12:32 AM

Are you talking about folders inside of folders like
  Folder 1
    Folder 2

Or are you talking about
  www.site.com
  subdomain.site.com

It's not that easy to get what it is you're looking for.  I know sometimes terminology gets mixed up so I'm just trying to figure out what it is you're attempting to do here.
I'm considered good looking in some countries




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users