LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 04: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, 04:50 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
http://uk3.php.net/syslog
 
Old 07-10-2008, 04: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



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 02:25 AM
Odd entry in syslog merana Linux - Security 2 04-27-2005 06:23 AM
Syslog, where is this entry coming from? exim? boyd98 Debian 1 04-05-2005 01:46 PM
How do I make PHP display output from my shell script? farmerjoe Programming 2 04-03-2005 01:15 PM
Need To make a calendar script, php logicdisaster Programming 2 06-14-2004 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:56 PM.

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
Open Source Consulting | Domain Registration