From: Justin Turner (idolo3@yahoo.com)
Date: Fri Jul 25 2003 - 10:56:28 CDT
Thank you for the replys, the advice, and the link to phpreg.
One observation I noticed was those who replied (and I'm sure those using the orignial Perl version) are using a mySQL backend. I would like to do the same. But I'm confused on how mySQL fits in with Netreg?
Are you...
1. Writing to the dhcpd.conf.new file and then populating your dB so anytime you write to the dhcpd.conf.new file you update the dB?
2. Using the db to create the dhcpd.conf.new file?
a. By inserting (or using a template which contains) the subnet declarations, pools, domain-name-servers, etc) and then converting your dB info into dhcpd.conf.new likable host records?
b. Or perhaps reading in the dhcpd.conf.new file until #<BEGIN STATICS># line and then enter your host information from the dB?
c. Does it matter how the file is written as long as it's written?
I plunged into the archives for an answer to this question, but saw that others are using a dB to write the dhcpd.conf.new. Not neccessarily how they are using it.
Sorry so lengthly.
Justin
"Ciesinski, Nicholas Arthur" <CiesinskNA26@uww.edu> wrote:
I re-wrote it in PHP and added a mySQL backend to it. I just never said anything :)
Nick Ciesinski
University of Wisconsin - Whitewater
-----Original Message-----
From: Justin Turner [mailto:idolo3@yahoo.com]
Sent: Thu 7/24/2003 4:03 PM
To: netreg@southwestern.edu
Cc:
Subject: NetReg: PHPNetReg?
Hello,
I have a quick question for the group...
I looked through the archives and noticed no one has mentioned or attempted to re-write the netreg protocol in PHP and was just wondering why?
Perhaps it's becasuse...
1. Pearl is better at flat file manipulation than PHP.
2. If it ain't broke don't fix it.
3. Pearl is familar, a native programming language to most people.
I was thinking about undertaking this endeavor for the following reasons
1. I understand PHP better than Pearl. PHP is my native tongue so to speak.
2. Faster?
3. Better intergration with databases such as mySQL and postSQL (in my opinion).
Before I start on this (potentially foolish) journey, can any see any cavaets to using PHP than I am overlooking?
Thanks for your time
Justin
_____
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
---------------------------------
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
**********************************************************************
To unsubscribe from this list, send an e-mail message to
majordomo@southwestern.edu containing a single line with the words:
unsubscribe netreg
Send requests for assistance to: owner-netreg@southwestern.edu
**********************************************************************
This archive was generated by hypermail 2.1.4 : Thu Aug 12 2004 - 12:01:40 CDT