close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Email

Thread began 3/03/2009 11:22 pm by jgsb2001352074 | Last modified 3/30/2009 2:25 am by dan_m343359 | 2642 views | 7 replies |

jgsb2001352074Beta Tester

Email

Hello:

I am having a problem with the email and thank you page rendering.

My database is catching the user inputs (ie is recording the data), but:
1. the 'Thank You.php page does not load after (another form loads)
2. the email is never sent

Here is where you can access the registration form:
users_Registration.php

Any help is greatly appreciated.

Jon

Sign in to reply to this post

Ray BorduinWebAssist

Probably the referrer checking and your security settings.

You can probably update the line:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {

with the line:
if (isset($_POST["Register_x"]))

That should stop the referrer validation.

Sign in to reply to this post

jgsb2001352074Beta Tester

Line Removal

Ray, thank you very much for your reply. I will test when I get home tonight and post what the results were.

Just to clarify what I will do:

DELETE:
if ((($_SERVER["REQUEST_METHOD"] == "POST") && (isset($_SERVER["HTTP_REFERER"]) && strpos(urldecode($_SERVER["HTTP_REFERER"]), urldecode($_SERVER["SERVER_NAME"].$_SERVER["PHP_SELF"])) > 0) && isset($_POST))) {

with NO additional curly brace deletion, }?

ADD:
if (isset($_POST["Register_x"]))

with NO curly braces at all?

Thank you again!
Jon

Sign in to reply to this post

Ray BorduinWebAssist

sorry, no add the curly bracket at the end

or just replace the contents of the IF statement even better.

Sign in to reply to this post

jgsb2001352074Beta Tester

Working, New Question

Ray, thank you so much! That worked great.

Now my Login and Forgot password pages won't work. They are doing the same thing as the user Registration was . . . posting to itself, only this time nothing happens.

1. I have confirmed the registration via e-mail
2. I looked for a similar line to the User_Registration page you told me about. I found in the user_Login.php that was very similar to the line you found for me earlier.

My question is: What Post value should I place there? "EmailPW_x", "Forgot_x"?

Any help is really appreciated.

Thanks again Ray.
Jon

Sign in to reply to this post

Ray BorduinWebAssist

That is the name of the submit button, or the name of the submit image with "_x" added to the end. So look at the name of the button the user presses to initiate the action and update the code accordingly.

Sign in to reply to this post

jgsb2001352074Beta Tester

Outstanding

Ray,

Many thanks for your direction, suggestions and support. Everything is working great.

Have a great weekend.
Jon

Sign in to reply to this post

dan_m343359

User Registration Pack

Problem:

I cannot get the email registration confirmation page to send out from my remote server - Hosted by Go Daddy. I have been working with WA's Eric, for 3 weeks trying to resolve this. His last comment was for me to change hosting - Doesn't anyone have one of your URP working at Go Daddy ?

The database receives the registration / log in, no problem - PHP MyAdmin locally / remote
I really need a fix on this. My client is getting very impatient........

Dan

Update - Monday afternoon
Received a call from WA Ray - Got it going - now working on Go Daddy - apparently there were some code issues.

Sign in to reply to this post

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