Re: Handling a post operation

From: Date: Thu, 17 Apr 2003 13:33:32 +0000
Subject: Re: Handling a post operation
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-144283@lists.php.net to get a copy of this message
Hi All, A bit more info. Below is the output of tcpdump on the server. Everything looks good to me, can you take a look see if anything jumps out. 09:16:23.150157 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: S 1002704505:1002704505(0) win 16384 <mss 1460,nop,nop,sackOK> (DF) 0x0000 4500 0030 81e8 4000 8006 f6dd c0a8 004c E..0..@........L 0x0010 c0a8 0065 0751 0050 3bc4 0e79 0000 0000 ...e.Q.P;..y.... 0x0020 7002 4000 6f3f 0000 0204 05b4 0101 0402 p.@.o?.......... 09:16:23.150226 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: S 4154081042:4154081042(0) ack 1002704506 win 5840 <mss 1460,nop,nop,sackOK> (DF) 0x0000 4500 0030 0000 4000 4006 b8c6 c0a8 0065 E..0..@.@......e 0x0010 c0a8 004c 0050 0751 f79a 3f12 3bc4 0e7a ...L.P.Q..?.;..z 0x0020 7012 16d0 61b1 0000 0204 05b4 0101 0402 p...a........... 09:16:23.150445 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: . ack 1 win 17520 (DF) 0x0000 4500 0028 81e9 4000 8006 f6e4 c0a8 004c E..(..@........L 0x0010 c0a8 0065 0751 0050 3bc4 0e7a f79a 3f13 ...e.Q.P;..z..?. 0x0020 5010 4470 60d5 0000 0000 0000 0000 P.Dp`......... 09:16:23.150682 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: P 1:33(32) ack 1 win 17520 (DF) 0x0000 4500 0048 81ea 4000 8006 f6c3 c0a8 004c E..H..@........L 0x0010 c0a8 0065 0751 0050 3bc4 0e7a f79a 3f13 ...e.Q.P;..z..?. 0x0020 5018 4470 4de2 0000 504f 5354 202f 7870 P.DpM...POST./xp 0x0030 7265 7373 2f74 6573 742e 7068 7020 4854 ress/test.php.HT 0x0040 5450 2f31 2e30 0d0a TP/1.0.. 09:16:23.150709 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: . ack 33 win 5840 (DF) 0x0000 4500 0028 174a 4000 4006 a184 c0a8 0065 E..(.J@.@......e 0x0010 c0a8 004c 0050 0751 f79a 3f13 3bc4 0e9a ...L.P.Q..?.;... 0x0020 5010 16d0 8e55 0000 P....U.. 09:16:23.165935 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: P 33:75(42) ack 1 win 17520 (DF) 0x0000 4500 0052 81eb 4000 8006 f6b8 c0a8 004c E..R..@........L 0x0010 c0a8 0065 0751 0050 3bc4 0e9a f79a 3f13 ...e.Q.P;.....?. 0x0020 5018 4470 87bb 0000 486f 7374 3a20 6c61 P.Dp....Host:.la 0x0030 622d 7870 7265 7373 322e 6869 6768 7374 b-xpress2.highst 0x0040 7265 6574 6e65 7477 6f72 6b73 2e63 6f6d reetnetworks.com 0x0050 0d0a .. 09:16:23.165984 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: . ack 75 win 5840 (DF) 0x0000 4500 0028 174b 4000 4006 a183 c0a8 0065 E..(.K@.@......e 0x0010 c0a8 004c 0050 0751 f79a 3f13 3bc4 0ec4 ...L.P.Q..?.;... 0x0020 5010 16d0 8e2b 0000 P....+.. 09:16:23.166178 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: P 75:249(174) ack 1 win 17520 (DF) 0x0000 4500 00d6 81ec 4000 8006 f633 c0a8 004c E.....@....3...L 0x0010 c0a8 0065 0751 0050 3bc4 0ec4 f79a 3f13 ...e.Q.P;.....?. 0x0020 5018 4470 8837 0000 4163 6365 7074 3a20 P.Dp.7..Accept:. 0x0030 7465 7874 2f68 746d 6c2c 202a 2f2a 0d0a text/html,.*/*.. 0x0040 5573 6572 2d41 6765 6e74 3a20 4d6f 7a69 User-Agent:.Mozi 0x0050 6c6c 612f 332e 3020 2863 6f6d 7061 7469 lla/3.0.(compati 0x0060 626c 653b 2049 6e64 7920 4c69 6272 6172 ble;.Indy.Librar 0x0070 7929 0d0a 436f 6e74 656e 742d 5479 7065 y)..Content-Type 0x0080 3a20 6d75 6c74 6970 6172 742f 666f 726d :.multipart/form 0x0090 2d64 6174 613b 2062 6f75 6e64 6172 793d -data;.boundary= 0x00a0 2d2d 2d2d 2d2d 2d2d 2d2d 3031 3233 3435 ----------012345 0x00b0 3637 3839 3837 3635 3433 3231 300d 0a43 6789876543210..C 0x00c0 6f6e 7465 6e74 2d4c 656e 6774 683a 2032 ontent-Length:.2 0x00d0 3133 0d0a 0d0a 13.... 09:16:23.166193 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: . ack 249 win 6432 (DF) 0x0000 4500 0028 174c 4000 4006 a182 c0a8 0065 E..(.L@.@......e 0x0010 c0a8 004c 0050 0751 f79a 3f13 3bc4 0f72 ...L.P.Q..?.;..r 0x0020 5010 1920 8b2d 0000 P....-.. 09:16:23.166685 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: P 249:462(213) ack 1 win 17520 (DF) 0x0000 4500 00fd 81ed 4000 8006 f60b c0a8 004c E.....@........L 0x0010 c0a8 0065 0751 0050 3bc4 0f72 f79a 3f13 ...e.Q.P;..r..?. 0x0020 5018 4470 b882 0000 2d2d 2d2d 2d2d 2d2d P.Dp....-------- 0x0030 2d2d 3031 3233 3435 3637 3839 3837 3635 --01234567898765 0x0040 3433 3231 300d 0a43 6f6e 7465 6e74 2d44 43210..Content-D 0x0050 6973 706f 7369 7469 6f6e 3a20 666f 726d isposition:.form 0x0060 2d64 6174 613b 206e 616d 653d 2266 696c -data;.name="fil 0x0070 6574 7970 6522 0d0a 0d0a 656d 6365 6c6c etype"....emcell 0x0080 0d0a 2d2d 2d2d 2d2d 2d2d 2d2d 3031 3233 ..----------0123 0x0090 3435 3637 3839 3837 3635 3433 3231 300d 456789876543210. 0x00a0 0a43 6f6e 7465 6e74 2d44 6973 706f 7369 .Content-Disposi 0x00b0 7469 6f6e 3a20 666f 726d 2d64 6174 613b tion:.form-data; 0x00c0 206e 616d 653d 2266 696c 656e 616d 6522 .name="filename" 0x00d0 0d0a 0d0a 7465 7374 2e78 6d6c 0d0a 2d2d ....test.xml..-- 0x00e0 2d2d 2d2d 2d2d 2d2d 3031 3233 3435 3637 --------01234567 0x00f0 3839 3837 3635 3433 3231 300d 0a 89876543210.. 09:16:23.166706 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: . ack 462 win 7504 (DF) 0x0000 4500 0028 174d 4000 4006 a181 c0a8 0065 E..(.M@.@......e 0x0010 c0a8 004c 0050 0751 f79a 3f13 3bc4 1047 ...L.P.Q..?.;..G 0x0020 5010 1d50 8628 0000 P..P.(.. 09:16:23.171983 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: P 1:274(273) ack 462 win 7504 (DF) 0x0000 4500 0139 174e 4000 4006 a06f c0a8 0065 E..9.N@.@..o...e 0x0010 c0a8 004c 0050 0751 f79a 3f13 3bc4 1047 ...L.P.Q..?.;..G 0x0020 5018 1d50 9eb2 0000 4854 5450 2f31 2e31 P..P....HTTP/1.1 0x0030 2032 3030 204f 4b0d 0a44 6174 653a 2054 .200.OK..Date:.T 0x0040 6875 2c20 3137 2041 7072 2032 3030 3320 hu,.17.Apr.2003. 0x0050 3133 3a31 363a 3233 2047 4d54 0d0a 5365 13:16:23.GMT..Se 0x0060 7276 6572 3a20 4170 6163 6865 2f32 2e30 rver:.Apache/2.0 0x0070 2e34 3020 2852 6564 2048 6174 204c 696e .40.(Red.Hat.Lin 0x0080 7578 290d 0a41 6363 6570 742d 5261 6e67 ux)..Accept-Rang 0x0090 6573 3a20 6279 7465 730d 0a58 2d50 6f77 es:.bytes..X-Pow 0x00a0 6572 6564 2d42 793a 2050 4850 2f34 2e32 ered-By:.PHP/4.2 0x00b0 2e32 0d0a 436f 6e74 656e 742d 4c65 6e67 .2..Content-Leng 0x00c0 7468 3a20 3437 0d0a 436f 6e6e 6563 7469 th:.47..Connecti 0x00d0 6f6e 3a20 636c 6f73 650d 0a43 6f6e 7465 on:.close..Conte 0x00e0 6e74 2d54 7970 653a 2074 6578 742f 6874 nt-Type:.text/ht 0x00f0 6d6c 3b20 6368 6172 7365 743d 4953 4f2d ml;.charset=ISO- 0x0100 3838 3539 2d31 0d0a 0d0a 4669 6c65 7479 8859-1....Filety 0x0110 7065 203d 203c 6272 3e46 696c 656e 616d pe.=.<br>Filenam 0x0120 6520 3d20 3c62 723e 436f 6e74 656e 7473 e.=.<br>Contents 0x0130 203d 203c 6272 3e30 30 .=.<br>00 09:16:23.172121 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: F 274:274(0) ack 462 win 7504 (DF) 0x0000 4500 0028 174f 4000 4006 a17f c0a8 0065 E..(.O@.@......e 0x0010 c0a8 004c 0050 0751 f79a 4024 3bc4 1047 ...L.P.Q..@$;..G 0x0020 5011 1d50 8516 0000 P..P.... 09:16:23.172298 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: . ack 275 win 17247 (DF) 0x0000 4500 0028 81ee 4000 8006 f6df c0a8 004c E..(..@........L 0x0010 c0a8 0065 0751 0050 3bc4 1047 f79a 4025 ...e.Q.P;..G..@% 0x0020 5010 435f 5f07 0000 0000 0000 0000 P.C__......... 09:16:23.173918 redstripe.highstreetnetworks.com.1873 > lab-xpress2.highstreetnetworks.com.http: F 462:462(0) ack 275 win 17247 (DF) 0x0000 4500 0028 81ef 4000 8006 f6de c0a8 004c E..(..@........L 0x0010 c0a8 0065 0751 0050 3bc4 1047 f79a 4025 ...e.Q.P;..G..@% 0x0020 5011 435f 5f06 0000 0000 0000 0000 P.C__......... 09:16:23.173973 lab-xpress2.highstreetnetworks.com.http > redstripe.highstreetnetworks.com.1873: . ack 463 win 7504 (DF) 0x0000 4500 0028 1750 4000 4006 a17e c0a8 0065 E..(.P@.@..~...e 0x0010 c0a8 004c 0050 0751 f79a 4025 3bc4 1048 ...L.P.Q..@%;..H 0x0020 5010 1d50 8515 0000 P..P.... Thanks Glenn "Glenn Macgregor" <gtm@almeric.com> wrote in message news:20030416214445.67858.qmail@pb1.pair.com... > Hi All, > > I have a windows application written in Borland C++Builder 5 which uses the > Indy components for internet connectivity. I am using there HTTP component > to do some get and post operations. All these operations work except for the > multipart/form-data post, I send 3 variables down, none of which are set in > the script. I have tried to use $varname as well as $_POST['varname'] and > $HTTP_POST_RAW_VARS. None of these have any data. I have examined a tcpdump > of the bad one and good one, not much different (nothing that matters as far > as I can tell). > > I am using apache 2 and php 4.2.2. The same application worked correctly > when I was using apache 1.3 and php 4.0.x. > > Can someone please point me in the correct direction, is their a php.ini > setting that changed between the two versions? > > > Thanks for your help > > Glenn MacGregor > >

« previous php.general (#144283) next »