473,322 Members | 1,690 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

block users from viewing

201 100+
Hello -

i want to limit what users view a page.

i have it set up so that the db stores a y|n for this option: public view

but how can i stop some one from viewing the page.

an example snipplet is much appreciated.

thanks in advance for your help
Feb 21 '09 #1
3 1162
devsusen
136 100+
It depends how u like to differentiate users. Most simple method is to have registered users and visitors. In such cases u can use login system so that reg. user can view some page which visitor can't.

if you can provide us little more detail it will be easier for us to explain or help.
Feb 21 '09 #2
wizardry
201 100+
i have the membership system setup.

i would like to control who has access to their profiles, thus allowing them the user to mark their profile as public, private etc...
Feb 21 '09 #3
wizardry
201 100+
ok sorry t bother you but i've found the solution.

I need to query the database and check if the flag is set then if not show else send message etc...

i was wondering if php had a built in module or function to handle alot of the server side functions.

but anywho!

thanks again
Feb 21 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Greg | last post by:
I have just started my first big project and I am having trouble predicting the system specs that will be required. At present during trials the site has around 15 users, although this will go to...
14
by: Brian Maupin | last post by:
I have a refreshing webcam shot on my site and I was wondering if there was a way I could display how many people are currently viewing it? Thanks in advance.
102
by: me | last post by:
How do I prevent the save/print/email/mypictures toolbar from popping up when IE users place their cursor over photos at my website? Thank you in advance for your help. Signed, me
3
by: Travis | last post by:
I am trying to prevent an exception from bubbling up from one nested Try/Catch Block to its "Parent" Try/Catch Block. Here is some example code: try{ try{ //Non-application killing code that...
2
by: swbaz | last post by:
What is an effect way to prevent users from viewing a webpage directly by typing in its URL? For example: If a default page is set up as a login screen with user name and password. The user...
2
by: AVL | last post by:
Hi, I want to use the Security application blcok in my application. I installed the Enterprise library and read the documentation. but still it's not very clear to me. Can anyone suggest few...
3
by: ~john | last post by:
I'm working on a multi-user system that at times may result in 2 users accessing the same screen. These screens allow the users to both view and update data. The problem comes when you have user A...
1
by: blesstomz | last post by:
hi..all how can i block viewing the datas in a text boxes while opening a form in ms access.now when i open the form scrolling ma mouse all the datas i entered before are displaying in the...
4
by: rahullko05 | last post by:
Hi, I am writing a code to display the number of user currently viewing my website at any point of time. for example: for bytes i can see network: 216355 as number of users currently viewing...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.