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

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -