[PHP-DEV] Re: vhost in mail

2004-11-15 Thread Sara Golemon
> I tried to patch php like: > > cat patch | patch -p1 > then I filed in the patch manually, but it will not work. > > Error: > *shrug*... didn't give me issues, but why not just edit the files directly, the patch is tiny enough 1) Open up ext/standard/mail.c in your favorite editor 2) Look f

[PHP-DEV] Re: vhost in mail

2004-11-13 Thread Alexander Windbichler
Hello, sorry for the late reply. I tried to patch php like: cat patch | patch -p1 then I filed in the patch manually, but it will not work. Error: debian:/usr/src/php-5.0.2# cat b | patch -p1 can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text lea

[PHP-DEV] Re: vhost in mail

2004-11-01 Thread Sara Golemon
> in the phpinfo() I can find (apache2handler) the entry: "Hostname:Port", > which displays the vhost you are running the script from. > In [phpsources]/sapi/apache2handler/php_functions.c I found the source. Now > I want to display the vhost in every mail, which is sent by php. I know that > the s