Am pretty much new to php. I hve a php site with user login, i hve maintained session. I hve pdf download in blog and articles page.
I hve to show the pdf for all, but it should be downloadable only for registered users, for others when they click it i want to show a alert "Please sign in to Download".
Please help me out in this issue.
You can see the files here:
user id: dhilipr
i hve placed a downloadable pdf in Blog and Articles page. Now only the register user can see the pdf files. Bcoz i hve hide it initially and after logging in i hve revealed it.
What i want is, i hve to show the pdf for all users, but only registered users can able to download it. for others it should show a alert like "sign in to download"
Thanks & Regards,