Hello,
I have a form in my webpage that requires that a variable be sent to the form in order for it to read from a variable "stuff" pertaining to that variable. The only problem is that one can just type in the url with out the "?name=blah" as a sufix and still see the page (but without any information from the database).
How can I stop people in their tracks? I tried a code in the beginning of the page "if ($name == "")" then "meta refresh" to the home page. But the problem is that the entire page loads before forwarding (even though the refresh script is the first line of code -- before "html").
I would appreciate it if anyone can give me a script to use.
Thanks in advance