SFML community forums

Help => Network => Topic started by: thomasx on February 11, 2021, 06:12:45 pm

Title: need help with HTTP socket [PHP] pls help
Post by: thomasx on February 11, 2021, 06:12:45 pm
the first part with receiving data was explained quite good which im thankful for. and it worked i fetched data
from  my http website without a problem
but now the problems is the following..

so basically from the tutorial i cant quite understand the second part... =(
i've written it like this look the pictures. the problem is
that nothing happens i have the following error from the picture
please tell me how to fix it with php.. i just want to $echo the values nothing else.
Title: Re: need help with HTTP socket [PHP] pls help
Post by: eXpl0it3r on February 15, 2021, 08:43:39 am
You probably have to the the header Content-Type to application/x-www-form-urlencoded, so that the PHP server knows in what format to expect the request body to be in.