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> 

Facebook | Follow us | Call us|
eflex9jablog@gmail.com

Any Enquiry, Call/Text +2347088850874

OG Friend Of Naira

Sir. Jassen Japheth popularly known as Eflexnaija is a student of the Taraba State University. He's a unique user of the pen when it comes to the expression of whatever is entertaining and educative. A young man full of optimism & amusement and a passionate advocate of prayer, hard work & persistence as a formula for success. He is the Site Developer-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 Software Developer.

WhatsApp chat