Popup function

From , 3 Years ago, written in PHP, viewed 233 times.
URL https://pastebin.vip/view/8fc687aa
  1. //弹出框函数
  2. function alertshow($msg,$url=''){
  3.                 $str = '<script type="text/javascript">';
  4.                 $str.="alert('".$msg."');";
  5.         if($url != ''){
  6.                 $str.="window.location.href='{$url}';";
  7.         }else{
  8.         $str.="window.history.back();";
  9.         }
  10.         echo $str.='</script>';
  11. }

Reply to "Popup function"

Here you can reply to the paste above

captcha

https://burned.cc - Burn After Reading Website