Page 1 of 1

newbie with HTTP problems

Posted: Tue Jun 18, 2002 5:10 am
by petra
Hi,
I'm new to PHP programming and I have to write a program that receives data sent via HTTP to the server.
A client program (*.exe) on a windows pc sends data via POST to my server -> it opens my php-file on the server and posts data to it.
Unhappily I can't receive any data at all. My php-file doesn't have any form inputs and no submit button to pass the data with POST to another page. The client program should only open the php-file and pass many data to it.

I tried to receive the data (and write them into a file) in the same php-file with $GLOBALS, $HTTP_POST_DATA and $HTTP_POST_VARS but there were none.

Can anybody help me how to manage it ?!

Thanx
_____
PE|RA

I'm using the following things:
$_POST[SERVER_SOFTWARE] => Apache/1.3.20 (Linux/SuSE) PHP/4.0.6
$_POST[SERVER_PROTOCOL] => HTTP/1.0

Posted: Wed Jun 26, 2002 4:07 am
by Wayne
Have you checked your servers error logs to see whether the information is actually hitting the page?

Also try writing the content to another file instead, as if the php-file is in use it should be locked and unable to write to.