DanielC Posted January 4, 2010 Share Posted January 4, 2010 I'm looking for a way to sync the email address for a client to the .contactemail address in the user's home directories. Does anyone know of a "simple" way to do this? Right now, I'm going to get a list of users per server. If there isn't a .contactemail or if .contactemail is empty, I'm going to query the database for the user on the server, then get the email address by userid. Then I'm going to write .contactemail with the email address. Has anyone already done this? 0 Quote Link to comment Share on other sites More sharing options...
DanielC Posted January 4, 2010 Author Share Posted January 4, 2010 I figured it out, but it's messy. On the server, I use perl to check the file's existence and some checking... Then it calls a PHP script to get the user's email address by checking for the username on the server in tblhosting, then I use another query to get the email address from tblclients by userid. If anyone has another way, please let me know for the future so I don't have to make so many calls back and forth.... 0 Quote Link to comment Share on other sites More sharing options...
ethical Posted May 22, 2010 Share Posted May 22, 2010 I would love to see this ability, it really is a pain to double entry on this sort of thing.... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.