= array(); } $post['classname'] = 'post'; } function comment_format(&$post) { global $conf, $uid, $gid, $forumlist; if (empty($post)) return; $forum = $post['fid'] ? forum_read($post['fid']) : ''; $thread = well_thread_read_cache($post['tid']); if ($thread) { //$post['fid'] = $thread['fid']; $post['closed'] = $thread['closed']; $post['subject'] = $thread['subject']; $post['url'] = $thread['url']; } else { $post['closed'] = 0; $post['subject'] = lang('thread_not_exists'); $post['url'] = ''; } $post['create_date_fmt'] = humandate($post['create_date']); //$post['message'] = stripslashes(htmlspecialchars_decode($post['message'])); $user = user_read_cache($post['uid']); $post['username'] = array_value($user, 'username'); $post['user_avatar_url'] = array_value($user, 'avatar_url'); $post['user'] = $user ? user_safe_info($user) : user_guest(); isset($post['floor']) || $post['floor'] = 0; // 权限判断 $post['allowupdate'] = 2 == array_value($forum, 'comment', 0) && ($uid == $post['uid'] || forum_access_mod($post['fid'], $gid, 'allowupdate')); $post['allowdelete'] = group_access($gid, 'allowuserdelete') && $uid == $post['uid'] || forum_access_mod($post['fid'], $gid, 'allowdelete'); $post['user_url'] = url('user-' . $post['uid'] . ($post['uid'] ? '' : '-' . $post['pid'])); if ($post['files'] > 0) { list($attachlist, $imagelist, $filelist) = well_attach_find_by_pid($post['pid']); // 使用图床 评论使用图床,mysql会过多,写死链接到内容是减轻mysql的过多的方法 if (2 == $conf['attach_on']) { foreach ($imagelist as $key => $attach) { $url = $conf['upload_url'] . 'website_attach/' . $attach['filename']; // 替换成图床 $post['message'] = FALSE !== strpos($post['message'], $url) && $attach['image_url'] ? str_replace($url, $attach['image_url'], $post['message']) : $post['message']; } } $post['filelist'] = $filelist; } else { $post['filelist'] = array(); } $post['classname'] = 'post'; } function comment_format_message(&$val) { global $conf; if (empty($val)) return; // 使用云储存 if (1 == $conf['attach_on'] && 1 == $val['attach_on']) { $val['message'] = str_replace('="upload/', '="' . file_path($val['attach_on']), $val['message']); } elseif (2 == $conf['attach_on'] && 2 == $val['attach_on']) { // 使用图床 list($attachlist, $imagelist, $filelist) = well_attach_find_by_tid($val['tid']); foreach ($imagelist as $key => $attach) { $url = $conf['upload_url'] . 'website_attach/' . $attach['filename']; // 替换成图床 $val['message'] = FALSE !== strpos($val['message'], $url) && $attach['image_url'] ? str_replace($url, $attach['image_url'], $val['message']) : $val['message']; } } else { $val['message'] = str_replace('="upload/', '="' . file_path($val['attach_on']), $val['message']); } //$val['message'] = stripslashes(htmlspecialchars_decode($val['message'])); } // 把内容中使用了云储存的附件链接替换掉 function comment_message_replace_url($pid, $message) { global $conf; if (0 == $conf['attach_on']) { $message = FALSE !== strpos($message, '="../upload/') ? str_replace('="../upload/', '="upload/', $message) : $message; $message = FALSE !== strpos($message, '="/upload/') ? str_replace('="/upload/', '="upload/', $message) : $message; } elseif (1 == $conf['attach_on']) { // 使用云储存 $message = str_replace('="' . $conf['cloud_url'] . 'upload/', '="upload/', $message); } elseif (2 == $conf['attach_on']) { // 使用图床 评论使用图床,mysql会过多,写死链接到内容是减轻mysql的过多的方法 list($attachlist, $imagelist, $filelist) = well_attach_find_by_pid($pid); foreach ($imagelist as $key => $attach) { $url = $conf['upload_url'] . 'website_attach/' . $attach['filename']; // 替换回相对链接 $message = $attach['image_url'] && FALSE !== strpos($message, $attach['image_url']) ? str_replace($attach['image_url'], $url, $message) : $message; } } return $message; } function comment_filter($val) { unset($val['userip']); return $val; } function comment_highlight_keyword($str, $k) { $r = str_ireplace($k, '' . $k . '', $str); return $r; } // //
function comment_message_format(&$s) { if (xn_strlen($s) < 100) return; $s = preg_replace('#.*?
#is', '', $s); $s = str_ireplace(array('
', '
', '
', '

', '', '', '', '' . ''), "\r\n", $s); $s = str_ireplace(array(' '), " ", $s); $s = strip_tags($s); $s = preg_replace('#[\r\n]+#', "\n", $s); $s = xn_substr(trim($s), 0, 100); $s = str_replace("\n", '
', $s); } // 对内容进行引用 function comment_quote($quotepid) { $quotepost = comment_read($quotepid); if (empty($quotepost)) return ''; $uid = $quotepost['uid']; $s = $quotepost['message']; $s = comment_brief($s, 100); $userhref = url('user-' . $uid); $user = user_read_cache($uid); $r = '
' . $user['username'] . ' ' . $s . '
'; return $r; } // 获取内容的简介 0: html, 1: txt; 2: markdown; 3: ubb function comment_brief($s, $len = 100) { $s = strip_tags($s); $s = htmlspecialchars($s); $more = xn_strlen($s) > $len ? ' ... ' : ''; $s = xn_substr($s, 0, $len) . $more; return $s; } ?>诺基亚如何利用计算机上网,诺基亚E63的WIFI上网功能全教程
最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

诺基亚如何利用计算机上网,诺基亚E63的WIFI上网功能全教程

运维笔记admin33浏览0评论

手机端设置:

依次点击"功能表-工具-设置-连接-接入点",选中"增加新接入点".

1."连接名称"诺基亚e63连接wifi,任意设定。最好设中文或数字,没测试过英文得.

2."选择承载方式"为"无线局域网";

3."WLAN网络名称"推荐用"搜索图片名称"获取WLAN网络名称,其实也可以手动输入;

4.图片状况”选择"公开";

5.WLAN网络模式选择."基础网路";

6."WLAN安全模式"选择"开放式网络",加了密钥的选择加密方法,推荐选择WPA/WPA2.

6."WLan安全设置"是选择密码的种类后,输入输入密钥的,没有加密的图片可以忽视这一步.

7."主页"可以不用设置。

上面是手机端IP输入

按左功能键进入"选项-高级设置",步入"IPV4设置",手动给电脑分配一个IP地址:

1.将"手机IP地址"设为"192.168.0.2",此处IP地址可随意更换,只要跟网卡同一内网即可,更换的范围为"192.168.0.2”-“192.168.0.254",任意输入一个, 这个范围和手机那个一样.随产品而定

2."子网掩码"设为"255.255.255.0"(固定的,不能更改),

3."默认网关"设为"192.168.1.1"(路由的地址),这个端口或许就是之前在手机上新建无线网络连接点时自定义的那种IP地址,

4.“DNS地址”可设可不设.

手机端设置:

1. 启动路由器并登陆路由器管理界面后诺基亚e63连接wifi,浏览器会表明管理员模式的图标.一般来说,管理界面的网址是,不同品牌应该有不同的网址,(应该即将买回了连里面这个网址都进不去.我刚开始就是这样的.把IP改成这个的网页的ip即可.我是这样做的,DNS码就上网去找关于你所在地的DNS码即可.)

2.对电信用户,需要将WAN端口相连类型设置为(PPPoE),并输入电信用户名和密钥。该流程的效果:当然就是开了路由器就自动帮你打通上网,不用再去打通了.

注意:本流程为成立无线局域网关键,略过此流程容易造成用电脑相连上了后却提示"无公网回应",缘由就在于电脑上无法进行带宽虚拟拨号。WAN端口相连类型无法设置:电信送得Modem,需刷固件XX一下把路由系统刷出来才能设置WAN端口为PPPoE的.(由于我的是自己买的,但是不知道怎么搞这个)

3.开启安全设置,我的是WPA加密方法.该系统就是给无线路由加个密钥而已,选不选择无所谓的.

4.MAC地址过滤(笔记本也可以通过这个设置是否禁止). MAC 地址本来就是硬件地址. MAC 地址过滤系统通过MAC 地址允许或放弃无线网络中的计算机访问广域网,这就是为什么很得网关无效的重点了,电脑上的MAC地址查询的方式是:待机页面输入*#62209526#.,然后添加到无线路由下面的 MAC地址中就可以了. 我的是直接把全部输入手机上,有的人认为要那么"-"这个字符为分割2个为一组。

5.启用DHCP服务器. DHCP服务器能够自动分配IP地址给局域网中的计算机,地址的开始与结束地址可以任意选择,但范围需在192.168.0.2至192.168.0.254之间.

本文来自电脑杂谈,转载请注明本文网址:

http://www.pc-fly/a/shouji/article-118610-1.html

发布评论

评论列表(0)

  1. 暂无评论