PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

How can I access information sent through POST on a form?


To do this, you make use of the global variable that is $_POST, as follows:

<?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

I have two web solutions I downloaded from the internet. Jobs Portal, Classified and a forum script. Each of the scripts has its own signup and log in module. How can I make visitors register and login through one webpage without having to login in all th

What is this form of code for a website? http://www.virginamerica.com/va/home.do the drop down menu's. whats the name for that. im trying to incorporate it into my design, but dont no the name for it.

Help : how to automatically upload files every 5 minutes ? Hi , Can anybody help me with this php code : I want to read the file names from a folder ( word document files or media files with extentions) and enter the url of the files in mysql d

how to get gmail inboxmessages in php using username and password

How to expire cookies when user pressed a button in webpage? I want have a link in my website then delete cookies.



Custom Search