You are here: changing settings in PHP.ini « All PHP « IT news, forums, messages
changing settings in PHP.ini

Posted by Mike on 10/28/06 13:27

I need to change a setting in the php.ini file but the host won't
change it.

I know I can put the following before the session_start()..

ini_set('session.use_cookies',0);

but do I need to do this on every page or is once enough on say a login
page?

Also, I have read that you can add the following to a .htaccess file...

php_value session.use_cookies 0

I created a 1 lined text file with the above line in it and saved in on
the server in the same dir as the index page under the file name
..htaccess.

This didn't work and I got an internal server error.

Any suggestion on the above.

Many Thanks

Mike

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация