Using s2member 3.1.5, I composed an URL like this:
http://mysite.com/my-functions/new_user.php?id=%%user_id%%
for the Notification URL in Registration Notifications.
I have the following code in new_user.php.
- Code: Select all
$id = $_GET['id'];
error_log("id = $id\n", 3, 'debug.log');
Here is what got sent to my function, as shown by the debug log:
cat debug.log
id = %%user_id%%
That's not what I expected to see!