摘要:
<?php //设置session,必须处于脚本最顶部 session_start(); $image = imagecreatetruecolor(100, 30); //1>设置验证码图片大小的函数 createtrue真彩 清晰 //设置验证码颜色 imagecolorallocate(int 阅读全文
摘要:
<%@ page language="java" contentType="text/html; charset=GBK" pageEncoding="GBK"%> <%@ page import="java.sql.*" %><!DOCTYPE html PUBLIC "-//W3C//DTD H 阅读全文
摘要:
说明:Statement stmt = con.createStatemen=(ResultSet.TYPE_SCROLL_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); 通用格式为:Statement stmt=con.createStatement(int ty 阅读全文
摘要:
<?php$host="localhost";$db_user="root"; //数据库用户$db_pass=""; //数据库密码$db_name=""; //数据库$timezone = "Asia/Shanghai";$link=mysqli_connect($host,$db_user,$ 阅读全文