Re: Content

From: Date: Tue, 15 Jan 2002 14:56:20 +0000
Subject: Re: Content
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-80562@lists.php.net to get a copy of this message
Hi Daniel, > variables, but as part of the Content of the HTTP request. Here is a sample: > POST > > /~rafael/sms_mail/cliente.dcs.php?NotificationProtocolVersion=1.0.0.0&ApplicationName=NPlex&ApplicationVersion=6.0.037&RequestType=NewMsg&RequestTime=01/15/2002%2014:08:23&ServerType=email&EMailAddress=jalexander@o2.net.br&MessageType=email&From=%22%5C%22Daniel%20C.%20Sobral%5C%22%22%20%3Cdcs@tcoip.com.br%3E&Subject=TST26&MessageReceivedTime=01/15/2002%2014:08:23 > > HTTP/1.0 in your php script, try to echo the passed param directly as variable, for example $NotificationProtocolVersion or $ApplicationName if it show the correct value, then you're lucky. otherwise, you have to parse the HTTP request. parse_str($QUERY_STRING); // after this you will have the $NotificationProtocolVersion variable -- Jimmy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ A woman is like your shadow; follow her, she flies; fly from her, she follows.

« previous php.general (#80562) next »