hello there guys,
First of all - if you've got something to do I suggest you don't waste your time on this lame problem of mine and go read some else, if you don't - plz bear with me 'coz I sure could use some help. Thanx.
Look, I've read all kinds of manuals and faqs and lists and hell it looks like it has to work but it doesn't. What am I talking about is a session managment and mail function. Aight, I have fixed php.ini like this:
...
[mail function]
SMTP=smtp.mail.yahoo.com
sendmail_from=chicago30s@yahoo.com
...
I guess I just have to post whole part with sessions
...
[Session]
session.save_handler = files
session.save_path = c:\winxp\temp
session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.serialize_handler = php
session.gc_probability = 1
session.gc_maxlifetime = 1440
session.referer_check =
session.entropy_length = 0
session.entropy_file =
; session.entropy_length= 16
; session.entropy_file= /dev/urandom
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 1
...
I won't say I understand each one of this parameters, but in those ones I do I changed values to more appropate for me.
When I do even simple session_start I get this:
Warning: open(/tmp\sess_ec0fcf8d5d27c7ee45261cf65a6aa7a7, O_RDWR) failed: m (2) in c:\wwwroot\ttt.php on line 2
though I set c:\winxp\temp as my save_path and this dir is readable/writeble (as if it could be not). I am the only one administrator on this os.
Also the mail problem... smtp is valid and I do own that email address, I even tried to put my isp's smtp and email - same result:
Warning: Failed to Connect in c:\wwwroot\t.php on line 2.
I'm doing this crazze on WinXP RC1 (2505), php 4.0.6, apache 1.3.20, thats it. No xtra's no nothing that could cause this kind of troubles. Also code I'm trying to make it work is nearly perfect (nothing is though..)
Bottom line if you were smarter than me and didn't read this bull above: I surely would apreciate help on setting up mail() and session stuff. Post your opinion, critisize me for my stupidity, give an advise, send me how-to link, send me your php.ini or better all send me your brains 🙂
Cheers,
AlCapone
What is difficult takes time, whsat is impossible takes a little longer