Re: Please Help......

From: Date: Sat, 30 Jun 2001 01:55:47 +0000
Subject: Re: Please Help......
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55633@lists.php.net to get a copy of this message
This could be difficult or not even possible... first you would need to add entries to the DNS zone file (and update the serial number) and then reload the DNS database, and this is only if you run your own DNS and not have your provider do it for you, like many of us do. Then you would have to update the /etc/httpd/conf/httpd.conf file with the correct info for the sub-domain and then restart apache And if you intend to have the new user upload content for the new sub-domain you would need to add a user and set a password, and as I stated in a previous message running passwd from php isn't possible as it requires you to enter a password, you can't supply one on the command line, and it needs to run as root to change the password of another user. Julia Quoting Man He (myphpuser@hotmail.com): > Hi all, > > Can anybody give me a guideline or idea on how to write a PHP scriot > which is used to create a domain or sub-domain and a default page and a same > time. My OS is Red Hat Linux 6.1. > > For example, in my program, when i press "activate' button, the script > will create me a sub-domain try.php.com and a default page index.php is > created for that sub-domain. Thanks for advice...... > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at > http://www.hotmail.com. > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net -- [ Julia Anne Case ] [ Ships are safe inside the harbor, ] [Programmer at large] [ but is that what ships are really for. ] [ Admining Linux ] [ To thine own self be true. ] [ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]

« previous php.general (#55633) next »