Member Avatar

hi friends, i want to get notification when a file is accessed (just opened and close without modification) . i tried filesystemwatcher .but i doesnt give the required facilities. please suggest me some other way to achieve that.. thanks in advance.

Member Avatar
0
18
Member Avatar

What do you mean by a critical section? A critical section is a piece of code of a process that accesses a shared resource that must not be accessed by more than 1 thread of execn. 1.a thread is smallest seq of programmed instrns and process is made of many threads.plz xplain in a bit detail.... 2.Does a process have only 1 critical section? 3.Can 2 or more processes be in their critical section at the same time?If no why? bcoz whats the prob if the critical sections are accessing diff shared resources? 4.Also tell me what is a semaphore...i …

Member Avatar
0
19
Member Avatar

Hi Everyone, I am looking to protect a webpage in my website. What I would like to do is check if the webpage has been accessed from a pre determined url. For example: Mywebsite.com/webpage.php should only be accessed from predetermined.com/url?id=var I have been doing some digging around and found the following. $url = 'http://'. $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; But I am lost with how to check if the url and var is correct. What I am trying to do is stop users going directly to Mywebsite.com/webpage.php and only allow users to access the webpage from predetermined.com/url?id=var Hope that makes sence, Cheers

Member Avatar
0
4

The End.