Tugger the SLUGger!SLUG Mailing List Archives

Re: [chat] Re: [SLUG] How to get the user name of the invoker of a sh script and use mail within the script.


This one time, at band camp, Steve Kowalik wrote:
>On Thu, Sep 20, 2001 at 08:30:41AM +1000, Peter Hardy uttered:
>> <? echo (get_current_user()); ?>
>> 
>*shiver* PHP.
>Which is A) Evil. B) Should be shot. And how will that work at all? It'll
>just return the UID of the owner of the webserver, no?

echo blah | /usr/bin/php

-- 
jaq@xxxxxxxxxxxxxx                        http://spacepants.org/jaq.gpg
<Balial> This port may thing it's fortified, butt I seem to be mounting
a pretty good assault