colincannon
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by colincannon
-
-
I had a similar problem with the move_uploaded_file
temporarily, set the permissions of the dir that you are moving the file to, to 777
that was a problem I had, the dir did not have permissions to be written to -
I noticed that google was indexing my site with phpsessid in the url. Also I needed to get rid of it because it messes up my site sometimes when I use header(location:???), therefore I want to permantly get rid of phpsessid.
So I put these lines in my .htaccess file to do the job.
php_value session.use_only_cookies 1
php_value session.use_trans_sid 0
They work getting rid of the phpsessid variable but it also caused one problem that I can't live with. The problem is that the first time you try to log into my site the session does not register, but once you try it a second time it works fine.
Any ideas what would cause somehting like that?
phpsessid killing me
in PHP Coding Help
Posted
Just to clarify I have session_start() as the first line in all of my php pages
any ideas would be greatly appreciated