![]() Topic awaiting preservation: Restringe access |
|
---|---|
Author | Thread |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Hello! (again) code: if ($SERVER["HTTP_REFERER"] == "http://www.site.com/form.php")
|
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() 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 |
![]() 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 |
![]() The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() You're first code should work but you need to use the "_" underscore before SERVER |
Maniac (V) Mad Scientist From: Azylum's Secret Lab |
![]() Now works! thanks InI and Bitdamage ( I added the "_" ) |