Re: Content

From: Date: Tue, 15 Jan 2002 15:29:54 +0000
Subject: Re: Content
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-80571@lists.php.net to get a copy of this message
Jimmy wrote:
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
I have these variables, but these variables are NOT what I want. Well, I want them, but that's the easy part. The problem is the content. -- Daniel C. Sobral (8-DCS) Daniel.Sobral@tcoip.com.br dcs@newsguy.com dcs@freebsd.org capo@notorious.bsdconspiracy.net The superior man understands what is right; the inferior man understands what will sell. -- Confucius

« previous php.general (#80571) next »