Article View: borland.public.cppbuilder.internet.web
Article #1397Re: posting image to php with bcb app
From: Hans Galema
Date: Wed, 02 Feb 2005 21:29
Date: Wed, 02 Feb 2005 21:29
28 lines
1910 bytes
1910 bytes
roger wrote: > I couldn't post the captured packets for comparision here but it can be > viewed at > > http://homepage.ntlworld.com/rogersmail/capture.txt You could not attach them you mean ? But that page you could include in the body as well. Some guesses: The browser uses HTTP/1.1 while ICS used HTTP/1.0 Did you try with a txt instead of a img ? Apparently all is received if one can believe the sniffler. Did you check if the temporary file was created ? Did you write the script yourself ? So /home/... is your directory ? If you do not want to use TCppWebBrowser than there is TIdHTTP and the old TNMHTTP. The latter is discouraged to use. It can post but I never used it to upload a file. Dit you check if the data for the gif are the same with browser and ICS ? The checksum is different! Which version of php is used (see comment in script). Hans.
Technical Details
Message-ID:
<4201466d$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!panix!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<4201354f$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,84f2b9807329173d X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 02 Feb 2005 22:29:08 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: posting image to php with bcb app References: <4201354f$1@newsgroups.borland.com> In-Reply-To: <4201354f$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 129.125.201.248 Message-ID: <4201466d$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1107379821 129.125.201.248 (2 Feb 2005 13:30:21 -0800) Lines: 30 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!panix!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail