How can I access information sent through POST on a form?
<?php
//user submits form sent with the POST method with an input field called 'name'
$yourname = $_POST['name'];
//$yourname now contains the data sent, note you should sanitise user input if you are going to do anything with it first!
?>
Comment on this Question and Answer >>>
ASK A QUESTION
More website PHP Questions
How to find a domain name for an IP address?where do i go to paste my google adsense code?
How do I find a visitors IP address?
How can I find out where a site visitor comes from?
How do I send HTTP headers with PHP?
