Jump to content

[Resolvido] Erro uso inapropriado de variáveis para a sessão


NunoDinis
 Share

Recommended Posts

Boa tarde,

Na minha aplicação por vezes dá-me este erro:

"Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0"

O que puderá ser ?

Estranha forma de vida que tem a capacidade de transformar comandos em mensagens de erro.

ndsotware.org

Link to comment
Share on other sites

o erro teima em não desaparecer. Já dei uma vista de olhos nessa página, veriquei formulários e nada...


RESOLVIDO! era porque as minhas SESSION tinham _ .

Exemplo "num_carro" , troquei para "numcarro" e já dá 🙂

Edited by brunoais
2x post junto

Estranha forma de vida que tem a capacidade de transformar comandos em mensagens de erro.

ndsotware.org

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. 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.