>
> [snip]
>
> I don't know much about php, but I assume that this command simply prints
> a message into the mail.log file?
>
Yip - simply copy the line into any PHP script you want to "debug" (in
between the "<?php" and "?>"). Then you can change the text to whatever is
helpful for you. You may print the content of any variable by simply
adding it to the text:

Assume there is a variable "$sm_something" used in the script. Then put

syslog(LOG_MAIL|LOG_NOTICE, "Variable $sm_something=" . $sm_something);

into your script to see what's stored.

Good luck
Jam



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
--
squirrelmail-users mailing list
Posting Guidelines: 
http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines
List Address: [email protected]
List Archives: 
http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user
List Archives:  http://sourceforge.net/mailarchive/forum.php?forum_id=2995
List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users

Reply via email to