-
The Array that is created when you post a form
- $_POST['input name from form']
- remember the ' ' inside the brackets!
-
What do superglobals start with?
$_
-
What does extract() do? What are the parameters?
- extracts an array into different parts
- extract(ArrayName,Duplicate Dealings, What to adjust the name to in case of duplicates)
-
Name the two types of ways to send forms and what is the difference between the two?
POST & GET, GET places the result in the title, but there is an upper limit on the number of characters because of that.
-
What superglobal accesses the environment and server variables?
$_SERVER['']
-
Function to kill the script immediately
exit();
-
How do you send a string to the URL or Domain top
- header(Location: );
- header("Location: http://www.example.com/")
-
How to retrieve the url string
.$_SERVER['QUERY_STRING']
-
function for sending email and the four parameters
- mail(to,subject,message,headers,parameters)
- $headers .= 'To: Mary <mary@example.com>, Kelly <kelly@example.com>' . "\r\n";
- $headers .= 'From: Birthday Reminder <birthday@example.com>' . "\r\n";
- $headers .= 'Cc: birthdayarchive@example.com' . "\r\n";
- $headers .= 'Bcc: birthdaycheck@example.com' . "\r\n";
|
|