*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:[EMAIL PROTECTED]]
// Sent: Monday, 7 January 2002 2:54 PM
// To: [EMAIL PROTECTED]
// 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: [EMAIL PROTECTED]
// For additional commands, e-mail: [EMAIL PROTECTED]
// To contact the list administrators, e-mail: 
// [EMAIL PROTECTED]
// 

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to