You are here: Re: help with Http POST data « PHP Programming Language « IT news, forums, messages
Re: help with Http POST data

Posted by Arnold Shore on 03/19/06 13:15

I send the stuff as form data all the time (although not that volume/size).
No chunking, no content-type. Yr base64 encoding makes it an ascii
transmission.

Use "extract ($HTTP_POST_VARS)" at the top of yr php receiver script to get
at what was the form vars. Really simple. Try it with a small volume to see
if the size breaks the logic, which I don't think it will for POST data.
HTH.

AS


"Bint" <Bint@igm.com> wrote in message
news:6%1Tf.2978$uX5.50@tornado.texas.rr.com...
> Hello,
> I'm new to web programming, and I've been looking all day on the web
> for an answer to this question.
>
> I'm trying to send some binary data, a relatively large amount (~128K), to
> a PHP script from a wireless device that has TCP/IP sockets. So I'm
> sending all of my data manually (ie ,"POST http://www.blah.com/process.php
> HTTP/1.0\n").
>
> I am able to send regular form data such as
> "tireqty=3&oilqty=4&sparkqty=1&address=4204MainStreet\n\n";
> To do this I have a header for the content type like so: "Content-Type:
> application/x-www-form-urlencoded\n";"
>
> I have even encoded my data in base64 ...

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация