PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Mon Nov 24, 2014 4:06 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: 1 visit page MAX
PostPosted: Mon Oct 25, 2010 11:32 pm 
Offline
Forum Newbie

Joined: Mon Oct 25, 2010 11:30 pm
Posts: 1
Hello! I am new to php and need to know if its possible to do a 1 visit only page?

Create a page and when its visited, its blocked or deleted? So the visitor can continue read but if refreshing, go back or give url to someone, its not working anymore? Any solution? Thanks :)


Top
 Profile  
 
 Post subject: Re: 1 visit page MAX
PostPosted: Tue Aug 09, 2011 10:51 pm 
Offline
DevNet Master
User avatar

Joined: Thu Mar 15, 2007 6:28 pm
Posts: 2765
Location: Redding, California
There's no 100% sure way to do that without requiring some sort of voluntary identification. You can set a cookie, but they can delete it. You can add their IP address to a database, but IP addresses are shared a lot of the time by people on an ISP, and people's IP address changes, or they could use Tor. The measures you take really depend on how important it is. The surest way is to require them to present and confirm an email address.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group