Skip to content

Instantly share code, notes, and snippets.

ssdfsdfsdf
█████ ██████ ██████ ███ █████ █████
░░███ ░░██████ ██████ ░░░ ░░███ ░░███
░███ ░███░█████░███ ████ █████ █████ ░░███ ███ ██████ █████ ████
░███ ░███░░███ ░███ ░░███ ███░░ ███░░ ░░█████ ███░░███░░███ ░███
░███ ░███ ░░░ ░███ ░███ ░░█████ ░░█████ ░░███ ░███ ░███ ░███ ░███
░███ ░███ ░███ ░███ ░░░░███ ░░░░███ ░███ ░███ ░███ ░███ ░███
█████ █████ █████ █████ ██████ ██████ █████ ░░██████ ░░████████
░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░░ ░░░░░░ ░░░░░ ░░░░░░ ░░░░░░░░
<html>
<head>
<title>正在跳转...</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table border=0 cellpadding=0 cellspacing=0 width="100%" height="100%">
<tr>
<style>
a:link{text-decoration:none;}/* 指正常的未被访问过的链接*/
a:visited{text-decoration:none;}/*指已经访问过的链接*/
a:hover{text-decoration:none;}/*指鼠标在链接*/
a:active{text-decoration:none;}/* 指正在点的链接*/
.wx{
width: 90%;
margin-left: 5%;
font-size: 18px;
color:white;
@bboxwechat
bboxwechat / nginx.conf
Last active June 12, 2019 07:06
注意事项: 1. tp的配置文件无法使用一键格式化
# power by www.php.cn
# user nobody;
worker_processes 1;
# error_log logs/error.log;
# error_log logs/error.log notice;
# error_log logs/error.log info;
# pid logs/nginx.pid;
events {
worker_connections 1024;
}
@bboxwechat
bboxwechat / tp.conf
Last active June 12, 2019 07:09
tp3.2 server
server {
listen 8101;
server_name localhost;
root "D:/soft/phpstudy/PHPTutorial/WWW/dev/pcplay_full";
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
location / {
try_files $uri @rewrite;
<?php function encode_email($email = '[email protected]', $linkText = 'Contact Us', $attrs = 'class="emailencoder"') {     // remplazar aroba y puntos     $email = str_replace('@', '@', $email);     $email = str_replace('.', '.', $email);     $email = str_split($email, 5);       $linkText = str_replace('@', '@', $linkText);     $linkText = str_replace('.', '.', $linkText);     $linkText = str_split($linkText, 5);       $part1 = '<a href="ma';     $part2 = 'ilto:';     $part3 = '" '. $attrs .' >';     $part4 = '</a>';       $encoded = '<script type="text/javascript">';     $encoded .= "document.write('$part1');";     $encoded .= "document.write('$part2');";     foreach ($email as $e) {         $encoded .= "document.write('$e');";     }     $encoded .= "document.write('$part3');";     foreach ($linkText as $l) {         $encoded .= "document.write('$l');";     }     $encoded .= "document.write('$part4');";     $encoded .= '</script>';       return $encoded; } ?>