Re: HTTP_POST_VARS['var'] displayed but not $var

From: Date: Mon, 05 Aug 2002 23:47:05 +0000
Subject: Re: HTTP_POST_VARS['var'] displayed but not $var
Groups: php.general 
Request: Send a blank email to php-general+get-111292@lists.php.net to get a copy of this message
>Hi, > >I recently installed the php-4.2.2-Win32 cgi and have come across a >problem. When I have form variables, I can only read them via >$HTTP_POST_VARS['var'] and *not* simply via $var. > >i.e. > echo $HTTP_POST_VARS['Qmin']; // works a charm > echo "<br><br>$Qmin"; // doesn't work > >I've installed PHP many times and have never encountered this problem. >I'm guessing (hoping) that this is controlled in php.ini or can be >fixed, but a search for a solution has proved unsuccessful thus far. > >Does anyone know what the problem is? There are a zillion emails talking about 'register_globals' on this topic... The short answer is: Stop using $Qmin, start using $_POST['Qmin'] -- 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 (#111292) next »