Visitor From Twitter


/ Published in: PHP
Save to your folder(s)

WordPress


Copy this code and paste it in your HTML
  1. <?php if (strpos("twitter.com",$_SERVER[HTTP_REFERER])==0) {
  2. echo "Welcome, Twitter visitor! If you enjoy this post, don't hesitate to retweet!";
  3. } ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.