I have 2 text files
One has arp list
IP Address MAC Address Type
-- --
165.166.182.204 00:0a:04:98:b5:d3 dynamic
One file has a mac list
Modem MAC Address IP Address
I have php with pg and mysql commands working on the web site all scripts
work. When I call them from the cmdline I get a different story. Call to
undefined function: pg_connect() but run the same script from the web and
it works no problem.. Anyone have some insight why this is happening
Than
What would be the easiest way to open a text file, remove a line if the line
begins with a word from an array of words (there are 5 words I will be
looking for) then write that back to the text file with everything removed
Thanks
Alan
What would be the easiest way to open a text file, remove a line if the line
begins with a word from an array of words (there are 5 words I will be
looking for) then write that back to the text file with everything removed
Thanks
Alan
4 matches
Mail list logo