Hi Guys

I have a form that posts data to a php script in a seperate file (form.php) I need this form.php to be accesible only by the form that submits data to it and not accessible as a direct link.

I remeber from college there is some code to do what im asking but I just can't remeber.

Thanks in advance for any help guys.