LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2008, 05:44 AM   #1
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Rep: Reputation: 15
make a syslog entry from php script.


hi !

i'm not sure if this is a php issue .... but ill explain:

when my commandline-php-script finished running, i want to add a line to /var/log/messages using syslogd.


how could this be done ?

i'm using suse 9.3 / php5-cli
 
Old 07-10-2008, 05:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
http://uk3.php.net/syslog
 
Old 07-10-2008, 05:56 AM   #3
womd
Member
 
Registered: Sep 2005
Location: Austria
Posts: 35

Original Poster
Rep: Reputation: 15
.. ahh nice

ah,thank you .... wasnt't able to find .. maybee wrong keywords ...


thx

cu
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help analyse syslog entry carboncopy Linux - Security 3 12-20-2005 03:25 AM
Odd entry in syslog merana Linux - Security 2 04-27-2005 07:23 AM
Syslog, where is this entry coming from? exim? boyd98 Debian 1 04-05-2005 02:46 PM
How do I make PHP display output from my shell script? farmerjoe Programming 2 04-03-2005 02:15 PM
Need To make a calendar script, php logicdisaster Programming 2 06-14-2004 07:27 PM


All times are GMT -5. The time now is 08:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration