Jump to content

New to php, question about http post requests


nicko

Recommended Posts

Hi Im new to php development and have a question that is probably simple to answer.

How do you deal with a post that wasn't sent from a form. All examples I have seen on forums only show you how to deal with posts from a html form. What if I post simply a header with content type and a body. How do I process this?

Hope someone can help
thorpe,
I'm glad you said that, I thought this was the case, when extracting data from $_POST, I'm used to specifing a variable name (the one that we specified in the form). How do you retrieve the data from $_POST without specifing the var name?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.