QT wrote:
Dear Sirs,
I need to post 3 string data to destination adres. But I see first time, the
name of the variables are same such as DATA. I ask the destination ovner is
there any error. Should be the form fields name such as DATA1, DATA2 and
DATA3.
You appear to be posting to a servlet and according to my understanding
the following will be collapsed.
$str = "DATA=abc&DATA=123&DATA=xxx"
Ie only DATA=xxx will be visible to the servlet
$len = strlen($str);
$p = "POST /httpsmspp/servlet/sms HTTP/1.0\r\n";
But you are using post. If you add the DATA items to the body of the
post message they will be individually accessible by the servlet.
--
Raditha Dissanayake.
------------------------------------------------------------------------
http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload
Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader
Graphical User Inteface. Just 128 KB | with progress bar.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php