[PHP] session_start() and cache problem ...

2001-01-17 Thread Samuel Tran

Hello everybody,

I have two websites that use Apache-1.3.12 + PHP-4.0.2 + Oracle8i on
Linux RedHat servers.

One of them doesn't use the session_start() function. If I do a telnet
on port 80 and type in "HEAD /  HTTP/1.0" I get the following :

HTTP/1.1 200 OK
Date: Wed, 17 Jan 2001 08:50:34 GMT
Server: Apache/1.3.12 (Unix)  (Red Hat/Linux) PHP/4.0.2
X-Powered-By: PHP/4.0.2
Connection: close
Content-Type: text/html


The other website does use session_start(). A "HEAD /  HTTP/1.0" gives
me :

HTTP/1.1 302 Found
Date: Wed, 17 Jan 2001 08:55:49 GMT
Server: Apache/1.3.12 (Unix) PHP/4.0.2
X-Powered-By: PHP/4.0.2
Set-Cookie: PHPSESSID=f986837823e67afe58b37bc6e45fd958; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-cache, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: gstr_cookies=Stockage%3DDISQUE; expires=Thu, 18-Jan-01
08:55:50 GMT; path=/
location: /index.php?tester=FALSE
Connection: close
Content-Type: text/html

I have the extra lines : Expires, Cache-Control, Pragama.

I would like to get rid of those 3 lines : is it possible and how could
I achieve that ?

I would appreciate any help.

Many thanks.
Best Regards.

Sam




[PHP] PHP + send mail using remote smtp server ?

2001-01-29 Thread Samuel Tran

Hello everybody !

Is it possible to send mail using PHP and a mail server that is
different from the Web Server ?

I would appreciate any help.

Thank you.

Sam


-- 
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]