close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

User Registration Solution Pack

Thread began 3/04/2010 7:22 pm by Gizza372666 | Last modified 4/05/2010 12:39 pm by Gizza372666 | 4871 views | 25 replies

Gizza372666

Originally Said By: Eric Mittman
  If you make this change you are just updating the trigger to be 'same page post' to be 'any page post'. This will make the page send the email whenever a page posts info to it. You should add in another condition to this if statement to check for the register button being pressed, it might look like this:

php:
<?php

if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_POST['Register'])?$_POST['Register']:"" != "")) {
  


-------------------------------------------------------------------
I just replaced this line:

if (($_SERVER["REQUEST_METHOD"] == "POST")){

---------------------------------------------------------
with this one:
if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_POST['Register'])?$_POST['Register']:"" != "")) {
---------------------------------------------------------


When I press submit, the information goes into the db but then I am still on the registration page and the user doesn’t' receive any emails either which means that the user is unable to activate his/her account.
Can you please explain further, make it more clear what will happen if I use just this line:
----------------------------------------------------------------------------------------
if (($_SERVER["REQUEST_METHOD"] == "POST")){
---------------------------------------------------------------------------------------
(Give me an example/scenario)
Also do you have any explanation why when I replace the above code with this one:
----------------------------------------------------------------------------------------------
if (($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_POST['Register'])?$_POST['Register']:"" != "")) {
---------------------------------------------------------------------------
The register will be unable to receive the confirmation email and also will be unable to redirect to the ‘users_ThankYou.php’ page?
Looking forward for your reply

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