Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Fabian Raygosa
ists. Php. Net" <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 4:25 PM Subject: Re: [PHP] (HELP) Reading a file sent through HTTP > > It's coming in as a binary file, as i mentioned before in some examples, > > How? Via what? It must be either a POST or a PUT if per

Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Jason Brooke
What request method is it then? I only know of HEAD and PUT other than GET and POST make a script that receives their request, and write getenv("REQUEST_METHOD") to a file and look I don't think socket functions will help you read it anyway, unless you replace your httpd with an ever-running, lis

Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Fabian Raygosa
al@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 4:10 PM Subject: Re: [PHP] (HELP) Reading a file sent through HTTP > Uh, if it is not a POST or a GET, what is it? There must be some HTTP > primitive or it isn't HTTP at all. > > -Rasmus > > On

Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Rasmus Lerdorf
> It's coming in as a binary file, as i mentioned before in some examples, How? Via what? It must be either a POST or a PUT if perl can read it. Chances are the data will be in $HTTP_RAW_POST_DATA -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTE

Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Fabian Raygosa
t;[EMAIL PROTECTED]> To: "Fabian Raygosa" <[EMAIL PROTECTED]> Cc: "Php-General@Lists. Php. Net" <[EMAIL PROTECTED]> Sent: Monday, March 19, 2001 4:10 PM Subject: Re: [PHP] (HELP) Reading a file sent through HTTP > Uh, if it is not a POST or a GET, wh

Re: [PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Rasmus Lerdorf
Uh, if it is not a POST or a GET, what is it? There must be some HTTP primitive or it isn't HTTP at all. -Rasmus On Mon, 19 Mar 2001, Fabian Raygosa wrote: > A site is trying to send our website a xml file. Unfortunately it is not > being sent through POST or GET. Using tools that the other si

[PHP] (HELP) Reading a file sent through HTTP

2001-03-19 Thread Fabian Raygosa
A site is trying to send our website a xml file. Unfortunately it is not being sent through POST or GET. Using tools that the other site gives me to test my site i have determined only the file size through server vars CONTENT_LENGTH and CONTENT_TYPE which is text/xml. But thats it. I am stuck on