Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Globals Help

RyRy
edited October 2006 in Vanilla 1.0 Help
Do globals need to be on or off on the server? i have two accounts with "streamlinenet" and they are on two different servers, the one with globals on works fine. But the one with globals off (files on each server are exactly the same) brings up header errors. SO im guessing globals need to be on? Trouble is streamlinenet wont put globals on, on the new server, so is there a way to fix this??

Comments

  • Options
    I don't remember which function, but I've seen Mark use it indeed... Don't know why, because everything else is just stored in the Context object. Maybe there's a way to re-program that part so it could work with globals turned off.
  • Options
    Maybe. Im not a programmer tho, i just love the vanilla forums, and would like to be able to use it. In the meantime, im kicking streamlinenet's ass because i have other scripts i need to use, which wont work with globals turned off.
  • Options
    Technically speaking Globals shouldnt be enabled due to possible security bugs (thats where stuff in a ?name=whatever automatically becomes a variable, right?) but you should still be able to access the data using $_GET('whatever') shouldnt you? Assuming I'm on the right track (it's been a long day and a longer week) I'd be surprised if Mark were using globals...
This discussion has been closed.