close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Double opt in registration - rsVerify problem

Thread began 2/06/2014 12:04 pm by FrankJay | Last modified 2/07/2014 8:39 pm by FrankJay | 2741 views | 11 replies

FrankJay

Double opt in registration - rsVerify problem

I have worked through the tutorial several times. Each time, starting afresh.

On the section: configure the confirm page, I create the rsVerify recordset and the required parameter variables.

Moving on to the "create the update verified functionality", I create the required URL variables and then move onto update single record. When I click on the dynamic value field to expand the recordset reverify, the is no recordset listed.

Totally stumped on what the cause could be. I'm including the generated code for the user-confirm.php page.

<?php require_once('Connections/connSAWA.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>

<body>
<p>Thank you for verifying your email address. You may now <a href="login.php">view restricted content</a>.</p>
<p>Your verification link has expired. Visit your <a href="userupdate.php">profile page</a> to send a new link.</p>
</body>
</html>
<?php
mysql_free_result($rsVerify);
?>

Another issue: creating the random string on the registration page. Point 7. Select WebAssist > Cookies > Set Session Value, the eCart dialogue box opens when wanting to perform this creation. Should it do so?

I am Using a Mac Pro, OS X ver 10.8.5. installed extensions: DB 1.1.8, DE 1.1.7 and eCart 5.0.7

Kindly advise. Thank you.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...