![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
PHP
文章平均质量分 78
HBwei812
这个作者很懒,什么都没留下…
展开
-
PHP "十二五" 简易 BLOG 代码- 未测试- 02
inc/mysql.inc.php##########<?phpclass mysql{//connect server DB run SQL command classpublic $database;public $server_username;public $server_userpassword;function mysql(){//struct somet翻译 2013-10-26 23:24:18 · 598 阅读 · 0 评论 -
PHP - ANSI 的相关
在 PHP 中与 GD 库相关的文件,都应用 ANSI ENCODE .转载 2013-11-06 19:11:18 · 413 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 10
manage/general.php##########<?php$config_tag=$_GET["config_tag"];$name="config".$_SESSION["user_id"];if($config_tag==1){//RECEIVE VARIABLE$margin_top=$_POST["margin-top"];$margin_bottom=$翻译 2013-10-26 23:42:51 · 630 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 07
manage/link.php##########<?php//FRIENDSHIP LINKif($GET["edit_tag"]==1){$name="link".$_SESSION["user_id"];if(!@$fp=fopen("../config/$name.txt","r")){echo"NOE CREATE!";}else{$link_name=$_GE翻译 2013-10-26 23:37:51 · 599 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 06
manage/user.php##########<?phpinclude "session.php";include "../inc/mysql.inc.php";include "../inc/myfunction.php";include "head.php";$folie=new mysql;$crazy=new myfunction;$folie->link("翻译 2013-10-26 23:36:21 · 586 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 04
install.php##########<?PHPinclude "inc/mysql.inc.php";$aa=new mysql;$bb=new mysql;$aa->link("mysql");$query="CREATE DATBASE "blog_db'";if($aa->excu($query)){echo"CREATE DB SUCCESS!"";}$翻译 2013-10-26 23:29:45 · 549 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 08
manage/pic_add.php##########<?phpinclude "session.php";$add_tag=$_POST["add_tag"];if($add_tag==1){$target=$_POST["target"];if(!empty($_FILES['file_name'{'name'])){//USING NOW TIME GET RAND翻译 2013-10-26 23:39:36 · 745 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 05
login1.php##########<?phpinclude "inc/mysql.inc.php";include "inc/myfunction.php";include "inc/head.php";$folie=new mysql;$crazy=new myfunction;$folie->link("");//receiniving variable$re翻译 2013-10-26 23:31:14 · 848 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 03
inc/myfunction.php##########<?phpclass myfunction{//change char: insert and update DB use //function str_to($str){$str=str_replace(" "," ",$str); // space to html space char$str=str_replac翻译 2013-10-26 23:27:50 · 518 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 01
CreateDB.txt#############CREATE DATABASE "blog_db';CREATE TABLE IF NOT EXISTS 'blog_comm_info'('id' int(11)NOT NULL auto_increment,'blog_id' int(11) default '0','comm_name' varchar(32) NOT翻译 2013-10-26 23:20:30 · 628 阅读 · 0 评论 -
PHP "十二五" 简易 BLOG 代码- 未测试- 09
manage/sta_say.php##########<?php//Rever something$sta_say=$_POST["sta_say"];$name="sta_say".$_SESSION["user_id"];if($sta_say!=""){$sta_say=str_replace(" "," ",$sta_say);//Write DOCif($fp翻译 2013-10-26 23:41:05 · 752 阅读 · 0 评论 -
PHP - Hello World
hello worldecho"HELLO WORLD!";?>转载 2013-09-22 17:42:28 · 520 阅读 · 0 评论