Portal Home > Knowledgebase > Articles Database > Save ls in mysql server

Save ls in mysql server

Posted by CleberDantas, 08-08-2008, 10:20 AM
Hello all, I have mail server in debian linux. I save my messages in files. pm:/home/vpopmail/domains/br.gov.br/leo/Maildir/new# ls -l total 4 -rw------- 1 vpopmail vchkpw 1862 2008-08-08 09:54 1218200097.25221.pm,S=1792 In this example, have 1 news message for user Leo. I want script for read this directory and save number files in MYSQL SERVER; Example: if run script, save in table in my mysql server value 1 ; I have software for find in mysql if have new mail. Idea?

Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
2 questions about php (Views: 317)
OLM Sucks! (Views: 563)