[PHP] php sendmail_from

2012-01-09 Thread alexus
I need to change sendmail from field, I added following to my .htaccess:

php_value sendmail_from 'x...@xxx.xxx'

and tried to send out an email, but it still comes from apache@FQDN

through phpinfo(); I see as local value my email address x...@xxx.xxx

-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] php sendmail_from

2012-01-09 Thread alexus
do you know if Drupal uses that too?

On Mon, Jan 9, 2012 at 10:16 PM, Fatih P fatihpirist...@gmail.com wrote:
 On Mon, 2012-01-09 at 13:53 -0500, alexus wrote:
 I need to change sendmail from field, I added following to my .htaccess:

 php_value sendmail_from 'x...@xxx.xxx'

 and tried to send out an email, but it still comes from apache@FQDN

 through phpinfo(); I see as local value my email address x...@xxx.xxx

 --
 http://alexus.org/




 try this before sending mail:

 $sender = 'some...@somewhere.com';

 if (ini_get(sendmail_from) == null || ini_get(sendmail_from) == )
 {
        ini_set(sendmail_from, $sender);
 }

 it is working fine for me




-- 
http://alexus.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: php sendmail_from

2012-01-09 Thread alexus
using Drupal

On Mon, Jan 9, 2012 at 2:48 PM, Jim Giner jim.gi...@albanyhandball.com wrote:
 And how are you generating the email?



 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Happy 1234567890 day!

2009-02-13 Thread alexus
wot!!!

On Fri, Feb 13, 2009 at 6:38 PM, Eric Butera eric.but...@gmail.com wrote:
 On Fri, Feb 13, 2009 at 5:13 PM, Gary Maddock-Greene
 g...@maddock-greene.co.uk wrote:
 Note quite there yet here but yes Happy 1234567890 day to you too

 --
 - Gary Maddock-Greene
 Luke Slater l...@blog-thing.com wrote in message
 news:200902131812.43295.l...@blog-thing.com...

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php



 woot!

 --
 http://www.voom.me | EFnet: #voom

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php





-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP Book

2008-03-26 Thread alexus
What's the good PHP book to learn PHP?

-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] php book

2008-03-19 Thread alexus
what book would you guys suggest for someone who's new and wants to learn php?

-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] urldecode header

2007-09-04 Thread alexus
hi

i was wondering if someone can give me a hand (i'm very new to php).

i have a form that user suppose to fill out that then get submitted to
index.php (current setup)

now what i need is another let's say index2.php that would take
everything from that form, rewrite one of the field and spits it back
to index.php

now, i dont know but as far as i know stuff that form spits out is
urlencoded, so i need to use urldecode function (
http://us.php.net/urldecode ) to decode and then header function (
http://us2.php.net/header ) to spit it back to index.php

now after all that i'm pretty much stuck here, i dont know how to do
it.. if someone can a spare a minute or two and write that code for me
i'd highly appreciate that.

thanks in advance

-- 
http://alexus.org/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] --with-imap-ssl

2001-07-13 Thread alexus

i've tryed --with-imap-ssl in my configure line and i got this..

.
checking for SSL support in IMAP... yes
configure: error: This c-client library does not support SSL. Recompile or
remove --with-imap-ssl from configure line.
su-2.05#

what needs to be done in order to make it work?


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PLZ HELP! php won't compile:( PLZ HELP

2001-07-13 Thread alexus

./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql=/usr/local/m
ysql/ --with-imap --enable-versioning --enable-ttrack-vars --with-ldap --ena
ble-gd=../gd-1.8.4 --with-png=../libpng-1.0.11 --with-jpg=../jpeg-6b --with-
zlib-dir=../zlib-1.1.3

this is my configuration line.. i dont get any erros while running
./configure but i get this error after doing make
please help

Making all in TSRM
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -D
USE_EXPAT -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to `va_arg')
*** Error code 1

Stop in /usr/local/src/php-4.0.6/TSRM.
*** Error code 1

Stop in /usr/local/src/php-4.0.6.

thank you in advance



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] PHP 4.0.6 and TSRM, I can't compile it! please help

2001-07-10 Thread alexus


i'm geting this error while compiling php

Making all in TSRM
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12  -g -O2 -c TSRM.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12  -g -O2 -c tsrm_strtok_r.c
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
-I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
-DXML_BYTE_ORDER=12  -g -O2 -c tsrm_virtual_cwd.c
tsrm_virtual_cwd.c: In function `virtual_open':
tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
`...'
tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to`va_arg')
*** Error code 1

Stop in /usr/local/src/php-4.0.6/TSRM.
*** Error code 1
 
Stop in /usr/local/src/php-4.0.6.

any ideas?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Fw: php (fwd)

2001-07-09 Thread alexus

i'm geting this error while compiling php

any ideas?

 Making all in TSRM
 /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
 -DXML_BYTE_ORDER=12  -g -O2 -c TSRM.c
 /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_strtok_r.c
 /bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I.
 -I../main   -DMOD_SSL=208104 -DEAPI -DEAPI_MM -DUSE_EXPAT -DSUPPORT_UTF8
 -DXML_BYTE_ORDER=12  -g -O2 -c tsrm_virtual_cwd.c
 tsrm_virtual_cwd.c: In function `virtual_open':
 tsrm_virtual_cwd.c:568: `mode_t' is promoted to `int' when passed through
 `...'
 tsrm_virtual_cwd.c:568: (so you should pass `int' not `mode_t' to
 `va_arg')
 *** Error code 1
 
 Stop in /usr/local/src/php-4.0.6/TSRM.
 *** Error code 1
 
 Stop in /usr/local/src/php-4.0.6.
 su-2.05#
 
 
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]