Forum Moderators: coopster

Message Too Old, No Replies

ini_set?

on a shared server

         

Code Sentinel

5:19 pm on Oct 21, 2004 (gmt 0)

10+ Year Member



I'm just wondering if ini_set will only change the configuration option for your username or home space or would it change server wide? (assuming it's allowed)

paladin

6:42 pm on Oct 21, 2004 (gmt 0)

10+ Year Member



From what I remember, it will only change the configuration for that specific page

coopster

7:00 pm on Oct 21, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



The configuration option you set using ini_set() [php.net] will keep the new value during the script's execution and will be restored at the end of the script processing.

Session settings act a bit different [webmasterworld.com] though, if you are on a shared server, so be careful there.