PHP Code for Visitors Notification

PHP Code for Visitors Notification:

<script>
var alertmessage=”Alert Popup message goes here”var once_per_session=1function get_cookie(Name) {
  var search = Name + “=”
  var returnvalue = “”;
  if (document.cookie.length > 0) {
    offset = document.cookie.indexOf(search)
    if (offset != -1) {
      offset += search.length
      end = document.cookie.indexOf(“;”, offset);
      if (end == -1)
         end&nnbsp;= document.cookie.length;
      returnvalue=unescape(document.cookie.substring(offset, end))
      }
   }
  return returnvalue;
}

function alertornot(){
if (get_cookie(‘alerted’)==”){loadalert()document.cookie=”alerted=yes”}
}

function loadalert(){alert(alertmessage)
}

if (once_per_session==0)loadalert()
elsealertornot()</script> 

Want to promote your content with us? Call/SMS: +2347088850874 Now!!!
Posted in

OG Friend Of Naira

Sir. Jassen Eflex is a student of the Taraba University. He's a unique user of the pen when it comes to the expression of whatever, a young man full of optimism & amusement and a passionate advocate of prayer, hard work & persistence as a formula for success. He is editor-in-chief of the organization and also a writer of news, articles, editorials and a lot more to help expand the level of knowledge of the readers and simultaneously have them entertained. A lover of music and football is who he is and a Computer Programmer.

  • eflexnaija.com.NG is the best portal for all your latest updates. We offer our customers 101% Royal Services unlike other sites. Keep visiting!

MORE SUGGESTED POSTS BELOW

Leave a Reply

Your email address will not be published. Required fields are marked *