RE: [PHP-DB] I think i saw this somewhere....
| From: | Beau Lebens | Date: | Mon, 07 Jan 2002 06:59:32 +0000 |
| Subject: | RE: [PHP-DB] I think i saw this somewhere.... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-15477@lists.php.net to get a copy of this message | ||
*being a smart-ass from your email signature*
sure... you can download the script from ......
just kidding :)
the best way to do this as far as I know would be to have a PHP script which
had write-access to your apache conf files, which then just added in the
required lines and restarted apache. there is no real need for a mysql
database, since the same script could read the existing conf file to find
out if a subdomain is available etc etc etc.
i know this isn't what you are after, but it might be useful if you get lost
and have to write your own :)
useful functions
----------------
file()
fopen()
fwrite() (? something like that)
system() (or ')
hope something there helps :)
/beau
// -----Original Message-----
// From: Dave Carrera [mailto:dave@davecarrera.com]
// Sent: Monday, 7 January 2002 2:54 PM
// To: php-db@lists.php.net
// Subject: [PHP-DB] I think i saw this somewhere....
//
//
// Hi All
//
// I think i saw a php script somewhere on my web travels, that
// allows you to
// include
// sub domain reg to your web site.
//
// it allowed you to offer
//
// http://yourname.choiceofdomainname.com
//
// so the visitor can have thier name in front of a domain name
// reged to our
// webspace.
//
// If i remeber right, it had a mysql db in the background.
//
// Is this kind of thing available or did i dream it.
//
// As always any pointers of advice is welcome
//
// Dave C
//
// The two rules for success are:
// 1. Never tell them everything you know.
//
//
//
// --
// PHP Database Mailing List (http://www.php.net/)
// To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
// For additional commands, e-mail: php-db-help@lists.php.net
// To contact the list administrators, e-mail:
// php-list-admin@lists.php.net
//