Re: parse_str () problems. using on the command line args ( argv[1]) - problem with php-4.2.2 ??

From: Date: Mon, 05 Aug 2002 07:05:29 +0000
Subject: Re: parse_str () problems. using on the command line args ( argv[1]) - problem with php-4.2.2 ??
Groups: php.general 
Request: Send a blank email to php-general+get-111170@lists.php.net to get a copy of this message
>Hello All > >I am trying to use parse_str in my script , passing a variable. > >I have old code, working with php 4.1.2 working with the following script : > >[root@zion kickstart]# cat make-kickstart.php > > >#!/usr/local/bin/php -q ><? >// parse any arguments >parse_str ($argv[1]) ; > >print "NAME: $name \n"; > >?> > >for some reason tho , under 4.2.2 it is not parsing the argument/s > >[root@zion kickstart]# ./make-kickstart.php name=lxmode >NAME: > >Does any one know if anything changed in 4.2.2 , I swear it works under >4.1.2 or older. > >Thanks for any advice or info in advance !! register_argc_argv got turned off in php.ini along with register_globals? -- Like Music? http://l-i-e.com/artists.htm I'm looking for a PRO QUALITY two-input sound card supported by Linux (any major distro). Need to record live events (mixed already) to stereo CD-quality. Soundcard Recommendations? Software to handle the recording? Don't need fancy mixer stuff. Zero (0) post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo audio-to-disk.

« previous php.general (#111170) next »