Re: why doesn't this work

From: Date: Wed, 16 Apr 2003 17:56:27 +0000
Subject: Re: why doesn't this work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144156@lists.php.net to get a copy of this message
At 4/16/2003 04:29 AM, freaky deaky wrote:
the code listed below works, if you pass variables to it through the url line in the browser (i.e., http://
mysite.com/thispage.php?orderid=98&BS_request=verify&order-id=98&request=verify&cpi.card-state=
ID&ms.merchant-id=MSJ&price=50.00......), but will not work if you pass these variables to the page
through a POST operation.
Hmm... I wonder w- oh here it is-
$verisign_string=$_SERVER['QUERY_STRING'];
Because you're *telling* it to!
'QUERY_STRING' The query string, if any, via which the page was accessed.
http://www.php.net/manual/en/reserved.variables.php
//you should update the cc_activity table at this point
You really should read up on what these code snippets you're obviously cut-n-pasting do before asking for someone on the list to make them work for you. -- S. Keller UI Engineer The Health TV Channel, Inc. (a non - profit organization) 3820 Lake Otis Pkwy. Anchorage, AK 99508 907.770.6200 ext.220 907.336.6205 (fax) Email: skeller@healthtvchannel.org Web: www.healthtvchannel.org

« previous php.general (#144156) next »