This topic is locked
[SOLVED]

 customer_add.php auto login

10/27/2010 22:35:29
PHPRunner General questions
X
Xilllly author

Hi,

I've made an advanced webform as per the tutorial which works fine. I've put that into my website so customers can add their details. Again that works fine. Only issue is that when customers get to the integrated customer_add.php page on my website, customers are asked to login.

How do I set it up so customers can add their details without having to login or be a guest or setup a username, i.e. they just put in their details into the webform and it is added to the customer_add table automatically. No login required. Customers only have contact with customer_add.php. After entering their details customers are sent to a thankyou webpage. Only I have access to the full database.

This automatic option is only needed for the customer_add.php as any other .php page has a login for security reasons.
Hopefully there is an answer to this? Thanks
<img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=15601&image=1&table=forumtopics' class='bbcemoticon' alt='<<' />

Sergey Kornilov admin 10/27/2010

This one is fairly straightforward.
Proceed to 'Security' screen, enable 'Guest login' under 'Advanced security' and then proceed to 'User group permissions' allowing Guest group to access the Add page of Customer table.

X
Xilllly author 10/29/2010

Thanks,

That worked great. I'm having trouble with the Username & password from database now. I'll close this post and keep watching the tutorial about logins until I get it sorted.

Many thanks