Re: Managing zone files with PHP

From: Date: Wed, 07 Nov 2001 22:53:36 +0000
Subject: Re: Managing zone files with PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-73818@lists.php.net to get a copy of this message
On Wed, 7 Nov 2001, James wrote: >-This is a random thought I had today. >- >-Anyone have any ideas how to do this well? >- >-I was thinking maybe let the user create the zone files via gui, >-And inserting into a sql table. >- >-Then when they are done adding/editting records, echo the db entries out >-into a zone file and replace the existing zone file. Always generating zone files from SQL BIND data is a fine idea. Just don't forget some mechanism to tell BIND to reload the new tables. A Makefile run by a cronjob that detects when new zone files exists is a good way to do this. >- >-I'd rather work with that than complex regex and ereg_replaces(), unless >-someone has a better idea. >- >-- James >- >- >- >- >--- >-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 >- ************************************** John Huggins VANet 7101 Oriole Avenue Springfield, VA 22150 703-912-6453 703-912-4831 fax jhuggins@va.net http://www.va.net/ **************************************

« previous php.general (#73818) next »