RE: [PHP] Pls Help: Moving script from Win to Linux

From: Date: Tue, 10 Dec 2002 16:22:17 +0000
Subject: RE: [PHP] Pls Help: Moving script from Win to Linux
Groups: php.general 
Request: Send a blank email to php-general+get-127669@lists.php.net to get a copy of this message
> I can pass variables till I am blue in the face, even > see them in the URL but they are still showing up as (!isset) Are you accessing these variables through $var or $_GET["var"]? I am accessing them as $var. Example (from memory) if(!isset($var)){ // do nothing }else{ // VAR IS SET.. DO SOMETHING } Real basic stuff, but if I echo out the value so I see if it matches what I see in the above URL I get... (SAMPLE URL) blah/my_url.php?submit=submit (SAMPLE CODE) <? echo "Submit = ".$submit ?> (SAMPLE RESULTS) Submit = Thanks gang! I have never needed to use $_GET["var"] What is the main difference? Would this be a setting difference between a WIN setup of PHP and a Linux setu of PHP? - over

« previous php.general (#127669) next »