This topic is locked

How to allow people to see data without login in

8/13/2009 05:27:17
PHPRunner General questions
D
donz author

Hi!
Im building a website and use table in my database called "barer", in which names, info etc of some restaurant are stored. I also have a table in my db called "users" in which all users who should be able to edit in the database are listed. But my problem is that i dont want people to login just to search on a restuarang, so i need the "barer_list.php" not to require a userlogin, but if you want to add and edit data, you have to login in in order to see "barer_add.php", "barer_edit.php etc.
How do I accomplish this?
Hope you understand the problem, i have the 4.2 build 379 verision of Phprunner.
Thanks in advance

Best Regards

J
Jane 8/13/2009

Hi,
just add guest account with read permissions only on the Security tab.

K
KevinMillican 8/15/2009

You probably also need to change the redirection switch in the index.htm file so that it lands on the desired page instead of the login page.

D
donz author 8/15/2009

great. Thanks Kevin and Jane for the answers got it too work now <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=43443&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />