Good morning!

1:  With sendmail, usually (if you are using a page.php to use this binary)
the path is in your actual code.
Look for something like
$fd = popen("/usr/sbin/sendmail -t", "w");

As you can see my sendmail binary is in /usr/sbin
So you don't need to change this in the php.ini unless you're using another
method to send mail (no pun intended..heh).

2: without seeing your code I'm not sure what to recommend.  You may want to
try a simple

header("Location: index.php?nID=index\n"); exit;

If that fails then try it using the full path to your server

header("Location: www.foo.com/index.php?nID=index\n"); exit;

...and if THAT fails - make sure you have Register_Globals = ON  in your
php.ini file.

Ok, enough from me... :)
Thanks,
JT


-----Original Message-----
From: Guilherme A. Mendes [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, July 02, 2002 8:59 AM
To: PHP Install
Subject: [PHP-INST] Sendmail


Hi,

Finally the Apache and PHP are compiled together and now it's running. But
there are two problems:

1. The Sendmail Path is incorrect, so I changed it at php.ini but it didn't
work out...How can I change it ?

2. I have a PHP script that use a 'Refresh' to redirect the user to the
address like index.php?nID=index but the server start to redirect and don't
stop anymore...I think there's something disable at php compiler but I don't
have idea what may be.


Thanks
Guilherme A. Mendes

GM9 Technology
www.gm9.com.br




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

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

Reply via email to