View Single Post
Old 02-04-2013, 09:08 PM   PM User | #4
TFlan
New Coder

 
Join Date: Dec 2012
Location: USA
Posts: 82
Thanks: 3
Thanked 17 Times in 17 Posts
TFlan is an unknown quantity at this point
Quote:
I notice in here that there is no indication of method=POST.

This script worked perfectly well using $_REQUEST
You have solved your own problem...

The $_REQUEST array includes $_GET, $_POST, and $_COOKIE

You are utilizing $_POST for the form submission and $_GET for the link.

To get the information held in the URL query string, you need to use $_GET, not $_POST

IE:
PHP Code:
// Link: http://countrymusic.org.uk/calendar/register-exec.php?email=jc1@in-uk.co.uk&emailcount=1&act=1&action=subscribe&fname=John&surname=Craven&country=UK&year=2013&m=7d2263 650cde3c8a1f5744414de3a748
$email $_GET['email']; // jc1@in-uk.co.uk 
TFlan is offline   Reply With Quote
Users who have thanked TFlan for this post:
countrydj (02-05-2013)