Hi Don,

> <?php
> 
> $cmd='/bin/sh -c "set"';
> 
> passthru($cmd);
> echo '<P>';
> putenv("REMOTE_ADDR=$REMOTE_ADDR");
> passthru($cmd);
> echo '<P>';
> 
> ?>
> 

This code will work, but I want to be able to enforce it on people that use
the mail() function.
I want php to call sendmail (The one from php.ini that is) WITH this
environment variabele still set.

Maybe my initial post wasn't that clear on this :)

> Don Read                                       [EMAIL PROTECTED]

Kind regards,


Maikel Verheijen. 

Reply via email to