How to create a do follow link?

View previous topic View next topic Go down

How to create a do follow link?

Post by Nexevo Technologies on Wed Mar 09, 2016 10:29 pm


How to create a do follow link?
avatar
Nexevo Technologies
platinum
platinum

Posts : 296
Earned : 1180
Credit : 0
Join date : 2015-09-01
Age : 25
Location : Bangalore

View user profile http://www.nexevo.in

Back to top Go down

Re: How to create a do follow link?

Post by bangalorewebguru on Wed Mar 23, 2016 1:55 pm

Create a database table with following fields: id (primary, int, auto-increment), url (varchar) (of file), date created (int).

When the "expiring link" is first created it's added to database along with its URL and the time-stamp it was created. When a user clicks a link the script should first check that the current time stamp subtracted from stored timestamps is not greater than your expiration time in seconds. If it's greater you could delete the file else you serve the file.

bangalorewebguru
platinum
platinum

Posts : 1115
Earned : 4481
Credit : 4
Join date : 2013-10-15
Age : 29
Location : Bangalore

View user profile http://www.bangalorewebguru.co.in/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum