473,326 Members | 2,148 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,326 software developers and data experts.

Single user access a particular page

I've added a membership system in my website. I want the php code to access a particular registered member in a particular page in my website. by equalising that member email in the php code. The reason for I ask you about this just for premium members access a particular page...
Jan 27 '13 #1
2 1638
Anas Mosaad
185 128KB
Your question is not clear. Would you please clarify what are you trying to do to be able to help?
Jan 27 '13 #2
Optimize the User Access Controll(Limit the user accessing page contents):
I've added file download options in my website. Few files are allowded to download by all registered user in my website. I want to add premium downloading. These premium downloads should be accessed only by paid user. The following php code I've added to access only for logged user. If any one didn't logged in, they can't access the page that you know.
The code is
Expand|Select|Wrap|Line Numbers
  1. <?PHP
  2. require_once("./include/membersite_config.php");
  3.  
  4. if(!$fgmembersite->CheckLogin())
  5. {
  6.     $fgmembersite->RedirectToURL("login.php");
  7.     exit;
  8. }
  9. ?>
"I want the code for access a page by paid user (the code should be included the e-mail address of paid user for only can access by that user only)"
Jan 28 '13 #3

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

Similar topics

7
by: indie | last post by:
how to make a user management in php, i mean that i want to limit the user access to my page. the script will not allow 2 user have an access to my page at the same time. the script only allow 1...
2
by: Justin | last post by:
I am developing a voting system. How to preventing a user votes continuously? Maybe cookie is useful here, but I don't know how to use it. Could you give me a example? Thanks.
3
by: canigou9 (remove your socks to reply) | last post by:
(cross posted - comp.databases.ms-access, microsoft.public.access) Hello folks - this is my first post here, after a short lurk. I have written an application in Access2002 for a friend's...
2
by: Deano | last post by:
One of the more challenging things on my app's wishlist is to make it multi-user on a LAN. For the record my app was always intended to a single-user but things have changed. It's mostly...
3
by: qwerty | last post by:
I have two User controls in a page. Them ID-propertys are example UC1 and UC2. In code behind file they are declared: Public UC1 As UC1 Public UC1 As UC1 From the page I can call them with...
2
by: Neville Abbott | last post by:
Since we converted our ACCESS 97 databases to ACESSS 2003 they have become single user only. Does anybody have any idea why this should have happened, and how it can be resolved?
7
by: PSorensen | last post by:
Hi Is there someone who know an easy way, so only one user can access a MS Access db without using users/groups in the database? It should be done by only knowing that someone is logged in/or...
5
by: velu5 | last post by:
Hello , Is it possible/recommended to do SQL server instance backups in Single user mode ? Thanks in advance, atv
1
by: Kyrierat | last post by:
Hi All, This seems a silly question as most people ask the opposite, but is it possible to restrict an Access database so only one person can use it at a time (a bit like other office documents...
6
by: julietbrown | last post by:
I have been wandering through Google all day, getting lots of data but not much information! I have been developing what was originally seen as a single user Access db for a small charity. ...
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.