Is there a way for me to password protect a php file rather than the entire directory?
I have a php calendar that allows people to schedule appointments. And once they schedule it, there first name will appear on that specific date and time they choose. But the name that is on the calendar is in the date box and is a link. The link is a "viewdetails.php" file. How do I protect this "viewdetails.php" file only.
So if somebody went to my site and wanted to schedule a service, they could see a persons first name and know that the time slot is booked, but if they clicked on that first name, they could see details. This I want to avoid..
What can I do?
Thanks..
I have a php calendar that allows people to schedule appointments. And once they schedule it, there first name will appear on that specific date and time they choose. But the name that is on the calendar is in the date box and is a link. The link is a "viewdetails.php" file. How do I protect this "viewdetails.php" file only.
So if somebody went to my site and wanted to schedule a service, they could see a persons first name and know that the time slot is booked, but if they clicked on that first name, they could see details. This I want to avoid..
What can I do?
Thanks..