Page 1 of 1

register_argc_argv = on

Posted: Tue Aug 27, 2002 1:00 pm
by DSM
register_argc_argv = on

Can anyone tell why a host would have this set to "on" in the php.ini? I am having trouble running a script on a certain host that I run on 3 other servers without any probs. I have checked the others phpinfo and the only glaring difference is register_argc_argv is set to off on those, and on on this particular server. I'm using $_POST[var], $_SESSION[var], etc...
and my variables are not being carried to the next page/form.

Any help is greatly appreciated

Mike

Posted: Tue Aug 27, 2002 1:02 pm
by JPlush76
hey DSM should your signature read: Lack "OF" planning?

Posted: Tue Aug 27, 2002 3:13 pm
by Takuma
Isn't it becuase it's using older version of PHP?

Posted: Tue Aug 27, 2002 3:26 pm
by DSM
no, they are using 4.2.2

btw thx JPlush...
actually need to amend it to "...Unless you're my wife"

Posted: Tue Aug 27, 2002 3:31 pm
by Takuma
Mighty PHP Manual wrote:register_argc_argv

The global PHP variables $argc (number of arguments passed to the application) and $argv (array of the actual arguments) are always registered and filled in with the appropriate values when using the CLI SAPI.
Hope this helps.

Posted: Tue Aug 27, 2002 3:48 pm
by DSM
thx