On Tuesday 19 March 2002 16:18, Kancha . wrote: > I'm using php 4.1.0. In earlier versions of php i > could access parameters passed throught command line > as $argv[1], $argv[2] and so on. With the version that > i'm usign now it says undefined variable. > > What is the new method of accessign command line > parameters ??
I think they're turned off by default. Look in php.ini for register_argc_argv = ?? -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk /* Preserve wildlife -- pickle a squirrel today! */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php