TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH P

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
nyamtoko
Forum Newbie
Posts: 2
Joined: Sat Oct 18, 2008 7:04 am

TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH P

Post by nyamtoko »

What I need:

About us page
Download Link a
Download Link b

Contact Page
Download Link c
Download Link d

etc, etc


What I have:
I already have the download files in the database. I also have the scripts for upload and download working.

PROBLEM: TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH PAGE, I.E., Download Link c or d should not appear in About Us Page but only in Contact Page.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH P

Post by aceconcepts »

Depends how your page processor works - how you display your pages.
nyamtoko
Forum Newbie
Posts: 2
Joined: Sat Oct 18, 2008 7:04 am

Re: TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH P

Post by nyamtoko »

Should I post my download script here? Sorry I didn't understand the page processor thing.
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: TO RESTRICT DOWNLOADS TO ONLY WHAT IS APPROPRIATE FOR EACH P

Post by aceconcepts »

Yeah sure - use the code button in the editor to post your code.
Post Reply