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

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

[PHP] Sessions

2003-08-16 Thread Peda
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 permission? Greetings, Peda!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] File upload

2003-07-25 Thread Peda
me. Greetings! Peda. -- 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

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

[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

[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

[PHP] mail function

2003-07-20 Thread Peda
I put this PHP script on web server: ?php if (mail([EMAIL PROTECTED], brati, peda, From: Peda)== TRUE) print(U redu je); else print(Greska); ? 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

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] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: ?php session_start(); session_register( aUser, aAccount ); $aUser = Cidnie; $aAccount = 1016; ? But when I conect to website I get this warning message: Warning: session_start():

[PHP] Problem with sessions

2003-07-17 Thread Peda
I'm working on a website. Begining of my script is: ?php session_start(); session_register( aUser, aAccount ); $aUser = Cidnie; $aAccount = 1016; ? But when I conect to website I get this warning message: Warning: session_start():