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 -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -