Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: SV: Re: Raw web client post headers


Message #1 by "Datatal AB - Gauffin, Jonas" <jonas@d...> on Thu, 14 Nov 2002 12:30:41 +0100
Hi I tried to use the input methos but it gives me an error..

Warning: fopen("php://input", "r") - Error 0 in
/tools/ehs/50080/test/catesync.php on line 23

Any ideas??


> -----Original Message-----
> From: Datatal AB - Gauffin, Jonas [mailto:jonas@d...]
> Sent: 14 November 2002 11:35
> To: professional php
> Subject: [pro_php] SV: Re: Raw web client post headers
>
>
> Another method is to use php://input
> Read more about it: http://www.php.net/manual/en/wrappers.php.php
>
> -----Ursprungligt meddelande-----
> Fr=E5n: Vincent, Justin [mailto:J.Vincent@e...]
> Skickat: den 12 november 2002 14:48
> Till: professional php
> =C4mne: [pro_php] Re: Raw web client post headers
>
>
> > were looking for. Clearly though you have something far
> more juicy in
> > mind. Can you tell us about it or are you sworn to secrecy?
>
> Well.. the co. I work for are trying to get the apple database 4D
> to act as a 'web client' and post binary attachments to an Oracle
> database via PHP. The trouble we were having was that even though
> we were following the RFC guidlines for creating multipart form
> headers and body. The data was not being picked up correctly by php..
>
> (i.e. the variables and attachments)
>
> so I needed to see exactly what apache saw 'in the rawest form'
> when a successfull multi part form was posted by Internet Explorer..
>
> Then we could compare that to what we were sending via 4D.
>
> Justin :)
> >
>
>
>
>

  Return to Index