I created a script - with a lot of help - that works well. I tried running it on one of our servers and found that the results came back in German....so I want to expand the code to accommodate for that. Here is a piece of the code as it stands now.
$rdata['Password last set'] = explode(' ', trim($rdata['Password last set']));
$rdata['Password last set'] = $rdata['Password last set'][0];
if (isset($rdata['Password last set']))
print ("<TD>{$rdata['Password last set']}</td>");
else
print ("<TD></td>");
Can somehow tell me how to add an if statement? The American version of the data shows 'Password last set' - then followed by a date which I am extracting...but the German version says 'Letztes Setzen des Kennworts' followed by the data that is being extracted. I need to put an if statement in there to be able to read both. Any help is greatly appreciated.