Topic awaiting preservation: Restringe access (Page 1 of 1) |
|
---|---|
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-19-2002 18:48
Hello! (again) code: if ($SERVER["HTTP_REFERER"] == "http://www.site.com/form.php")
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-19-2002 18:53
So wait you're supposed to restrict access based on a username/password validation done on another site? |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-19-2002 18:56
Nop, I just want the people to access if they come from "http://www.site.com/form.php" |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 09-19-2002 19:19
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 09-19-2002 19:41
You're first code should work but you need to use the "_" underscore before SERVER |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
posted 09-20-2002 08:48
Now works! thanks InI and Bitdamage ( I added the "_" ) |