Re: [PHP] Sessions

2003-08-17 Thread Peda
Thank you all for your help. I solved the problem using session_save_path("/some/dir/") in php script. But now I have another question. Every time when I'm using .htaccess file and try to connect to my site I get this message: Internal Server Error The server encountered an internal error or mis

Re: [PHP] Sessions

2003-08-17 Thread Peda
Thank you all for your help. I solved the problem using session_save_path("/some/dir/") in php script. But now I have another question. Every time when I'm using .htaccess file and try to connect to my site I get this message: Internal Server Error The server encountered an internal error or mis

[PHP] Sessions

2003-08-16 Thread Peda
on denied (13) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 It looks like I don't have permission to write in /tmp/ directory. Can I change that permissio

[PHP] Re: File upload

2003-07-25 Thread Peda
> did you look what comes from your form? try: > var_export($_FILES); It comes the empty array: array( ) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload

2003-07-25 Thread Peda
> > maybe you should try $HTTP_POST_FILES? > I have tryed that too, but nothing happened. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] File upload

2003-07-25 Thread Peda
> Do you have file uploads enabled in php.ini? Take a look at a phpinfo() > page for details. Yes I have. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] File upload

2003-07-25 Thread Peda
ache. Can anyone help me. Greetings! Peda. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: mail function

2003-07-21 Thread Peda
Thank you!!! Headers solved my problem. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mail function

2003-07-20 Thread Peda
sendmail_path = /usr/sbin/sendmail OS is Linux -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mail function

2003-07-20 Thread Peda
I put this PHP script on web server: But It seems that mail function doesn't work. I don't get any e-mail. Can anyone tell me what is wrong. Greetings. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: But when I conect to website I get this warning message: Warning: session_start(): open(tmp/sess_41e301350c11c38d0249bc8c72ffb2ec, O_RDWR) failed: Permission denied (13) in /home2/pena/public_html/listing1.php on line 3 Can anyone tell me wha

[PHP] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: But when I conect to website I get this warning message: Warning: session_start(): open(tmp/sess_41e301350c11c38d0249bc8c72ffb2ec, O_RDWR) failed: Permission denied (13) in /home2/pena/public_html/listing1.php on line 3 Can anyone tell me wha