IT Community - Software Programming, Web Development and Technical Support

Create SubDomains

This is a discussion on Create SubDomains within the PHP Programming forums, part of the Web Development category; Hello, Please tell me How we create Subdomains using PHP? Thanks...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Web Development > PHP Programming

Register FAQ Members List Calendar Mark Forums Read
  #1  
Old 01-01-2009, 08:57 PM
Simran1 Simran1 is offline
D-Web Trainee
 
Join Date: Jan 2009
Posts: 2
Simran1 is on a distinguished road
Cool Create SubDomains

Hello,
Please tell me How we create Subdomains using PHP?

Thanks
__________________
Website Development
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 01-08-2009, 12:06 AM
Henry Henry is offline
D-Web Trainee
 
Join Date: Dec 2008
Posts: 1
Henry is on a distinguished road
Default Re: Create SubDomains

Quote:
Originally Posted by Simran1 View Post
Hello,
Please tell me How we create Subdomains using PHP?

Thanks
Hi,
The setcookie() function sends an HTTP cookie to a client.

A cookie is a variable, sent by the server to the browser. A cookie is typically a small text file that the server embeds on the user's computer. Each time the same computer requests a page with a browser, it will send the cookie too.

The name of the cookie is automatically assigned to a variable of the same name. For example, if a cookie was sent with the name "user", a variable is automatically created called $user, containing the cookie value.

A cookie must be assigned before any other output is sent to the client.

This function returns TRUE on success or FALSE on failure.
Syntax:
setcookie(name,value,expire,path,domain,secure)
__________________
Y-tek.com
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS Authentication problems, ISAPI Rewrite and dynamic subdomains chris Server Management 0 06-04-2008 01:35 AM
IIS Authentication problems, ISAPI Rewrite and dynamic subdomains chris Software Testing 0 06-04-2008 01:10 AM
How to create DLL file Kirubhananth ASP and ASP.NET Programming 1 04-04-2008 03:07 AM
Can anybody help me out to create a Key Pair H2o ASP and ASP.NET Programming 1 07-24-2007 02:29 AM
How many subdomains ? killerkev06 General Web hosting Discussions 1 04-26-2007 11:11 PM


All times are GMT -7. The time now is 05:22 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.
Our Partners
One Way Moving Companies | Stamford Dentist | Euro Millions Lottery | Home Loans| Furniture

SEO by vBSEO 3.0.0