php - If linked from example.com show content -


is there possibility show html content on site if user linked specific site? if not, not show content.

i have <input> login form , want set value if user comes special site.

not reliable can try:

<?php if ($_server['http_referer']=="http://www.google.com") {     echo "secret content"; } ?> 

Comments

Popular posts from this blog

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -