Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 05-07-2005, 11:36 AM Subdomain creation
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
I know it's possible but I have nooooooooooo file management experience at all with PHP - so how do you create subdomains with PHP?? If anyone knows of a tutorial thats cool!
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-07-2005, 12:03 PM
TyR
TyR's Avatar
Super Talker

Posts: 139
Location: Frei - Norway
Trades: 0
http://no.php.net/manual/en/ref.url.php
theres a lil tutorial there
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
TyR is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:11 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
So URL and Directory functions would be the same how... ?
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:20 PM
TyR
TyR's Avatar
Super Talker

Posts: 139
Location: Frei - Norway
Trades: 0
well, if u acctually read throught the page you would find it...

note #3

Quote:
If you got a server which got only one subdomain and you can't add a subdomain you can easily create your own "subdomain script". You may create a file "index.php" or what ever your defaul filename is in the webpage root directory and add the following PHP Code:
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
TyR is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:28 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
listen man, don't patronise or try and mock me. That's not what I want, cause i've got unlimited subdomains on my server - if you're not gonna help, i'd appreciate your silence.
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:42 PM
TyR
TyR's Avatar
Super Talker

Posts: 139
Location: Frei - Norway
Trades: 0
so you want to set up another subdomain,
now thats another thing.

and you dont have to be such a *****, i was just trying to help
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

Last edited by TyR; 05-07-2005 at 12:46 PM..
TyR is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 12:49 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
Yeah. Well thanks for your help though, i'll just route around the net - i was just wondering if anyone had tried it before and was looking for a recommended tutorial.
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 03:18 PM
amw_drizz's Avatar
Ultra Talker

Posts: 340
Name: Jon
Location: New York
Trades: 0
i dont use ph pfor that. my host offers unlim everything and cpanel
__________________
AMW_Drizz
Dev Machine:: Apache 2.2.6 PHP 5.2.6 MySQL 5.1
amw_drizz is offline
Reply With Quote
View Public Profile Visit amw_drizz's homepage!
 
Old 05-07-2005, 03:24 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
yeah i need it automated for user profiles, i guess just forward slash after domain will be fine
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Old 05-07-2005, 03:35 PM
Gaffer Sports's Avatar
Ultra Talker

Posts: 397
Name: Steve
Location: Scotland
Trades: 1
Boy, mind me not to try and help you in the near future if that is how you treat people. The guy got his wires crossed, which is a simple mistake. If you cannot ask a question without having to explain a tad further on reply, then you need to explain to the letter, the first time round, which would mean asking "How to create EXTRA subdomains".
__________________

Please login or register to view this content. Registration is FREE
-
Please login or register to view this content. Registration is FREE
Gaffer Sports is offline
Reply With Quote
View Public Profile Visit Gaffer Sports's homepage!
 
Old 05-07-2005, 05:57 PM
leavethisplace's Avatar
Ultra Talker

Posts: 297
Trades: 0
fair enough, guess u don't have to help me if you really don't want to. But to be honest it felt as though the advice given was rather condescending, with the combination of and as well as pointing me to the PHP Manual - fair enough it's the obvious choice, but I asked how to create subdomains, not create them "virtually" or whatever.

As with all forums though, opinions are held and everyones entitled to them.
__________________
A lie gets halfway around the world before the truth has a chance to get its pants on. - Sir Winston Churchill

Please visit my sites:
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
leavethisplace is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Subdomain creation
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

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





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.37795 seconds with 12 queries