Dear Board,
I have a strange question......
I would like to see if there is a way to prevent a script to run when it has not received any input from a form?
My script searches a database for names, cities, etc. based on user input
for example, when I go to http://www.example.com/script.php - the script runs and basically dumps the whole database to the user.
I would prefer the script to die if accessed directly, and run properly when it receives user input from the form........
Thank-You!