Results 1 to 4 of 4
Cheers all,
I would like to create my own log file and write to it using some linux system vars. I know how to create and write to a file ...
- 11-11-2008 #1Just Joined!
- Join Date
- Apr 2008
- Posts
- 8
Write to a log file with PHP
Cheers all,
I would like to create my own log file and write to it using some linux system vars. I know how to create and write to a file with PHP, but I do not know how to capture or get the values from system variables like date, who, pwd, etc.
Is there a way to get these values in a php script?
Thanks for any tips...
JohnC
- 11-11-2008 #2New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4
- 11-11-2008 #3Just Joined!
- Join Date
- Apr 2008
- Posts
- 8
Eight years in PHP and I never knew that command was around.
Most excellent! Thank you!
Cheers!
- 11-12-2008 #4
You are welcome
New to the internet, technical forums, or the hacker / open source community??
Read this to learn good posting habits http://www.catb.org/~esr/faqs/smart-questions.html
RHCE for RHEL version 5
RHCT for RHEL version 4


Reply With Quote

