Web Form Builder in password...

User 2839152 Photo


Registered User
13 posts

I built a website for my staff to enter new customers into a club. Everything worked fine, it would post a confirm message on the page after submission and send a notification email after updating MySQL database. After I tested everything, I then password protected the folder (obviously I don't want customers updating database). Now, after form submission on page, there is no confirmation message or email notification (though MySQL database is updated)....any ideas?
thanks
JB
User 187934 Photo


Senior Advisor
18,728 posts

Hi JB,
How did you password protect the directory? If it's protected through .htaccess than your scripts may not be able to access it properly. You may need to make some adjustments to the .htaccess file.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
13 posts

I did it via privacy options in godaddy which added the .htaccess
AuthType basic
AuthName "Employee use only"
AuthGroupFile /dev/null
AuthUserFile /home/content/56/7592256/htconfig/.htpassword.ghtpassword
Require user guinness
Options +ExecCGI
AddType application/x-httpd-php .php .html
AddHandler x-httpd-php5 .php .html
User 187934 Photo


Senior Advisor
18,728 posts

Hi JB,
I think you'll need to red this.
https://perishablepress.com/enable-file … cted-site/
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
13 posts

I read and adjusted .htaccess to give permission to the Web Form subfolder and the .php in the directory above it. I tested and sure enough you don’t need password for the form directory and sub folders. Are there any other directories and/or files I should exclude from password protection?
Thanks
JB
User 187934 Photo


Senior Advisor
18,728 posts

If it all works go with the way you have it.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
13 posts

It’s not working. (Meaning no email confirmation or confirmation message).. only when no password for directory at all. I’d really like to password protect directory and still have email sent for confirmation
User 187934 Photo


Senior Advisor
18,728 posts

Are all the form files and the page with the form inside the same directory?
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2839152 Photo


Registered User
13 posts

Website (www.cregeens.com) is not password protected. The RSD webpage is in a password protected sub folder (www.cregeens.com/club). The form (filename Club2.fb) is imbedded in index_2.html of the RSD webpage. When creating for export a php file (Club2.php) was created as well as folder “Club2”. I have excluded the Club2 subfolder, Club2.php, as well as index_2.html (though I wouldn’t think it mattered). This is confirmed by checking http://www.cregeens.com/club/Club2/Club2.html and you will see no password required.
User 187934 Photo


Senior Advisor
18,728 posts

Put the page the form is on inside the club directory along with all the form files and then protect the club directory.
Then alter the src's and href's on the page the form is on so they point to the proper locations.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.