/    Sign up×
Community /Pin to ProfileBookmark

Access from a specified page

Hi gurus,
I am making an ebook and i will upload it to my site but befoer this i want to make sure that a visitor before downloading the book, he or she submits some info like email and answer a certain question.
I thought of developing a form and upload it to “/form.html” and when “download” buton is clicked, visiotr will be directed to a new page containing the download details for example “/download.html”. My worries is that if someone directly access download.html, he will be able to download the book without completing the form.
My question: is there a script that i can insert into /download.html page that would prvent direct access to the page and if so happens it would tell the visitor of the correct page to come from like something “you have to access this page thru /form.html.

I will be very grateful for any help in this matter.

Thanks to all.

to post a comment
PHP

4 Comments(s)

Copy linkTweet thisAlerts:
@FangNov 18.2007 — Requires server side scripting, which language do you use?
Copy linkTweet thisAlerts:
@toolbareeauthorNov 18.2007 — I am a very basic developer .. I am using dreamweaver and html.


Thanks
Copy linkTweet thisAlerts:
@FangNov 18.2007 — Without server side scripting it will never work correctly.

An alternative option is to send the book file by email after receiving the user's email.
Copy linkTweet thisAlerts:
@toolbareeauthorNov 18.2007 — Thanks for your prompt reply.

Please tell me if there is a scritp I can use. I have no problem in doing the server scripting installaiton. I have done so many of these php and others. I found that if the script has a "readme"file, i can easily follow the istructions.

Thanks again.
×

Success!

Help @toolbaree spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.3,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...