PHP and Expect Scripting
Posted: Thu Sep 22, 2005 11:16 pm
Hi everyone,
I am very new with PHP and would like to get a few tips and help from you all. Currently, am resolving a problem that we have now that involves PHP and Expect. The scenario and idea is to have a file (dhcpd.conf) consisting of our thin client's hostname and IP addresses, generated with new hostnames using PHP scripting language. Also, will have to create a cronjob running every 59th day to make a copy of the current dhcpd.conf called dhcpd.conf[current date] and replace it with new dhcpd.conf file that I generated. And afterward, let it restart the dhcpd daemon.
With this information given, I would like to ask you guys for your tips or help on how I could start on this?
Hoping to hear from you all.
Regards,
jong41803
I am very new with PHP and would like to get a few tips and help from you all. Currently, am resolving a problem that we have now that involves PHP and Expect. The scenario and idea is to have a file (dhcpd.conf) consisting of our thin client's hostname and IP addresses, generated with new hostnames using PHP scripting language. Also, will have to create a cronjob running every 59th day to make a copy of the current dhcpd.conf called dhcpd.conf[current date] and replace it with new dhcpd.conf file that I generated. And afterward, let it restart the dhcpd daemon.
With this information given, I would like to ask you guys for your tips or help on how I could start on this?
Hoping to hear from you all.
Regards,
jong41803