Jump to content

tbobker

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

tbobker's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. UPDATE: Typical, as soon as a posted this message I solved it. For some reason php doesnt like my on=1. I changed this to status=on and all is good. I have a ini file called settings.ini it contains the following: [system] on=1 The idea is that I update this ini file to turn the application on or off, 1 being on. When I use parse_ini_file("settings.ini") I receive this error The PHP calling this is: $ini = parse_ini_file("settings.ini"); What is wrong with this and is using a ini file the way to go. I thought its a bit much having it in a database its just a flag to tell the application if the system can run or not. Any help appreciated. I just cant see what the issue is.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.