I can just about struggle though with PHP (and I have been), but now I'm stuck.
Here's what I'd like to do...
I have this in a text file on the web server local drive. Say C:\Logs\Expire.txt:
I'd like to read this file from a web page using PHP, and display the file like this:
So I need to manipulate the file a little, trim out some stuff, but I have no idea how.
Any ideas?
Thank you!
Here's what I'd like to do...
I have this in a text file on the web server local drive. Say C:\Logs\Expire.txt:
Code:
"cn=surname1\, firstname1 (company),ou=users,dc=domain,dc=net"
"cn=surname2\, firstname2 (company),ou=users,dc=domain,dc=net"
"cn=surname3\, firstname3 (company),ou=users,dc=domain,dc=net"
Code:
surname1, firstname1
surname2, firstname2
surname3, firstname3
Any ideas?
Thank you!