or any options that need to be specifically compiled in.
For my authentication, I use a suid perl script that authenticates against NIS maps
and returns the user directory among some other auth info. If you're going to
pass anything to the command line from PHP, remember to use escapeshellarg()
or escapeshellcmd() functions on the user input.
Patrick
On Wednesday, December 11, 2002, at 12:10 PM, Chris LaFrance wrote:
I figured I would send this off-list, but is there a required version of
php for this to work properly? Thanks.
This should be a learning experiance ... I'll try to figure out how to use
authentication in php. I was going to try having perl authenticate with
the system passwd file.
--
Chris LaFrance
email: [EMAIL PROTECTED]
"Is sloppiness in speech caused by ignorance or apathy?
I don't know and I don't care."
-- William Safire
On Wed, 11 Dec 2002, Patrick Bores wrote:
Here's the PHP template I wrote for my small user base (slightly modified for public consumption). You'll have to write your own authentication code. All this template really requires is that you set the $user_dir variable.Also, it assumes that the first line in the user_prefs file is the "required_hits" directive. It registers any directive it doesn't recognize as a "Custom" rule. Should be pretty easy to figure out. Good luck, Patrick
-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk