problem with forms

A

Anonymous

Guest
You are accessing the posted variables directly like this:

$ng

but they may not be global.
as of version 4.1.x the configuration setting "register_globals" is off by default because of security reasons.

you can acces you're posted variables via the array $_POST or $_GET (depending on the submit form) or you can use $_REQUEST (wich containts both)

in short:

try this:

$_POST['ng']

Greetz Daan
 
gemini1325 said:
does making the variables global reduce perfomance much? (the site will be hosted at a priv. server, i think no more than 1Ghz :-()
no, but it will be allways of in the future, with allways off I mean you can't change it! So programming that way right now might be a good idea.

Also, it's off because of security reasons, so automaticly making those variables global could be a security problem in case someone wants to hack you're pages.

as for Gallery, I don't know that piece of software. I can't see the problem myself in there, nor a possible sollution. Perhaps you should contact the programmers of Gallery themself if you still haven't got it running but walked you're way through there help-pages.

Greetz Daan
 
Back
Top