<p>I'd like to have a page in php that normally displays information based on the GET request sent to it. However, I'd like for it to also be able to process certain POST requests. So, how can I tell if any data was sent by POST so I can act on it?</p>

Use
```
$_SERVER['REQUEST_METHOD']
```
to determine whether your page was accessed via a GET or POST request.
If it was accessed via post then check for any variables in
```
$_POST
```
to process.