本文目錄一覽:
- 1、誰有比較好的OA管理系統啊,要有源碼的php寫的!
- 2、如何運行php教材管理系統源碼
- 3、跪求簡單的php用戶註冊源碼
- 4、學生管理系統php源碼誰有
- 5、php 用戶註冊源碼
- 6、PHP源代碼怎麼用?
誰有比較好的OA管理系統啊,要有源碼的php寫的!
more.groupware
more.groupware是一個基於Web採用PHP開發的辦公套件。它的特點:簡單的安裝嚮導,易於模塊管理和升級,高級權限管理,集成在線幫助,易於更換皮膚(使用CSS),基於Smarty模板引擎,支持MySQL和PostgreSQ,支持多種語言包括簡體中文。包含的模塊有:Webmail,記事本,待辦事項,通訊錄,項目管理,文件管理,日曆等。
Group-Office
Group-Office是一個基於Web的辦公套件。它採用模塊化設計,可擴展性強。主要功能有:用戶管理、模塊管理、email客戶端、文件管理、日曆、項目管理、網站管理以及客戶關係管理等,可以與PDA和Outlook同步。
Tine
Tine是一個基於ExtJs開發的協同辦公套件。包括:支持通過ActiveSync與Nokia和Windows Mobile電話同步通信錄,任務管理,CRM、集成VoIP、 工作計劃跟蹤和一個靈活的權限管理系統。
這些都是開源的。
如何運行php教材管理系統源碼
系統環境變量path=C:\php 5. 使 php.ini 文件在 Windows下被 PHP 所用 系統環… phpMyAdmin並不是必需的,只是為了方便管理MySQL數據庫,本身是用PHP編寫而成.
跪求簡單的php用戶註冊源碼
?php
include ‘conn.php’;
if($_POST[‘submit’]){
$sql = “INSERT INTO admin (Aid,Aname,Apass) values (”,’$_POST[Aname]’,’$_POST[Apass]’)”;
mysql_query($sql);
echo $sql;
}
?
script type=”text/javascript”
function regcheck(){
if(regform.Aname.value==””){
alert(“用戶名不得為空”);
regform.Aname.focus();
return false;
}
if(regform.Apass.value==””){
alert(“密碼不得為空”);
regform.Apass.focus();
return false;
}
}
/script
form action=”zhuceyeA.php” name=”regform” method=”post” onsubmit=”return regcheck()”
註冊管理員br
用戶名:input type=”text” name=”Aname”
密碼:input type=”password” name=”Apass”
input type=”submit” name=”submit” value=”註冊”
/form
//我也是初學者 大四 這個代碼是我自己練手做的 數據庫很簡單 ID 用戶名 密碼(明文顯示,為了簡便起見) 高手不要笑話我。。。。
學生管理系統php源碼誰有
php學生管理系統源碼,供大家參考,具體內容如下
功能:
1.添加/刪除/修改
2.數據存儲.
界面分佈:
index.php
—主界面
add.php —stu添加
action — sql中add/del/update
(處理html表單–mysql的數據存儲 && 頁面跳轉)
edit.php —stu修改
menu.php
–首頁
1. index.php
!DOCTYPE html
html lang=”en”
head
meta charset=”UTF-8″
title學生信息管理/title
script
function doDel(id) {
if(confirm(‘確認刪除?’)) {
window.location=’action.php?action=delid=’+id;
}
}
/script
/head
body
center
?php
include (“menu.php”);
?
h3瀏覽學生信息/h3
table width=”500″ border=”1″
tr
thID/th
th姓名/th
th性別/th
th年齡/th
th班級/th
th操作/th
/tr
?php
// 1. 鏈接數據庫
try{
$pdo = new PDO(“uri:mysqlPdo.ini”,”root”,”1″);
}catch (PDOException $e) {
die(‘connection failed’.$e-getMessage());
}
//2.執行sql
$sql_select = “select * from stu”;
//3.data 解析
foreach ( $pdo-query($sql_select) as $row) {
echo “tr”;
echo “th{$row[‘id’]} /th”;
echo “th{$row[‘name’]}/th”;
echo “th{$row[‘sex’]} /th”;
echo “th{$row[‘age’]} /th”;
echo “th{$row[‘classid’]}/th”;
echo “td
a href=’edit.php?id={$row[‘id’]}’修改/a
a href=’javascript:void(0);’ onclick=’doDel({$row[‘id’]})’刪除/a
/td”;
echo “/tr”;
}
?
/table
/center
/body
/html
2. add.php
!DOCTYPE html
html lang=”en”
head
meta charset=”UTF-8″
title學生管理系統/title
/head
body
center
?php include (‘menu.php’); ?
h3增加學生信息/h3
form action=”action.php?action=add” method=”post”
table
tr
td姓名/td
tdinput type=”text” name=”name”/td
/tr
tr
td年齡/td
tdinput type=”text” name=”age”/td
/tr
tr
td性別/td
tdinput type=”radio” name=”sex” value=”男”男/td
tdinput type=”radio” name=”sex” value=”女”女/td
/tr
tr
td班級/td
tdinput type=”text” name=”classid”/td
/tr
tr
!– td /td–
tda href=”index.php”返回/td
tdinput type=”submit” value=”添加”/td
tdinput type=”reset” value=”重置”/td
/tr
/table
/form
/center
/body
/html
3. action.php
?php
/**
* Created by PhpStorm.
* User: hyh
* Date: 16-7-7
* Time: 下午9:37
*/
//1. 鏈接數據庫
try{
$pdo = new PDO(“uri:mysqlPdo.ini”,”root”,”1″);
}catch (PDOException $e) {
// echo ‘Connection failed: ‘ . $e-getMessage();
die(‘connection failed’.$e-getMessage());
}
//2.action 的值做對操作
switch ($_GET[‘action’]){
case ‘add’://add
$name = $_POST[‘name’];
$sex = $_POST[‘sex’];
$age = $_POST[‘age’];
$classid = $_POST[‘classid’];
$sql = “insert into stu (name, sex, age, classid) values (‘{$name}’, ‘{$sex}’,'{$age}’,'{$classid}’)”;
$rw = $pdo-exec($sql);
if ($rw 0){
echo “scriptalter(‘添加成功’);/script”;
}else{
echo “scriptalter(‘添加失敗’);/script”;
}
header(‘Location: index.php’);
break;
case ‘del’://get
$id = $_GET[‘id’];
$sql = “delete from stu where id={$id}”;
$rw = $pdo-exec($sql);
if ($rw 0){
echo “scriptalter(‘刪除成功’);/script”;
}else{
echo “scriptalter(‘刪除失敗’);/script”;
}
header(‘Location: index.php’);
break;
case ‘edit’://post
$id = $_POST[‘id’];
$name = $_POST[‘name’];
$age = $_POST[‘age’];
$classid = $_POST[‘classid’];
$sex = $_POST[‘sex’];
// echo $id, $age, $age, $name;
$sql = “update stu set name='{$name}’, age={$age},sex='{$sex}’,classid={$classid} where id={$id};”;
// $sql = “update myapp.stu set name=’jike’,sex=’女’, age=24,classid=44 where id=17”;
print $sql;
$rw = $pdo-exec($sql);
if ($rw 0){
echo “scriptalter(‘更新成功’);/script”;
}else{
echo “scriptalter(‘更新失敗’);/script”;
}
header(‘Location: index.php’);
break;
default:
header(‘Location: index.php’);
break;
}
4.edit.php
!DOCTYPE html
html lang=”en”
head
meta charset=”UTF-8″
title學生管理系統/title
/head
body
center
?php include (‘menu.php’);
//1. 鏈接數據庫
try{
$pdo = new PDO(“uri:mysqlPdo.ini”,”root”,”1″);
}catch (PDOException $e) {
die(‘connection failed’.$e-getMessage());
}
//2.執行sql
$sql_select = “select * from stu where id={$_GET[‘id’]}”;
$stmt = $pdo-query($sql_select);
if ($stmt-rowCount() 0) {
$stu = $stmt-fetch(PDO::FETCH_ASSOC); // 解析數據
}else{
die(“no have this id:{$_GET[‘id’]}”);
}
?
h3修改學生信息/h3
form action=”action.php?action=edit” method=”post”
input type=”hidden” name=”id” value=”?php echo $stu[‘id’];?”
table
tr
td姓名/td
tdinput type=”text” name=”name” value=”?php echo $stu[‘name’];?”/td
/tr
tr
td年齡/td
tdinput type=”text” name=”age” value=”?php echo $stu[‘age’];?”/td
/tr
tr
td性別/td
td
input type=”radio” name=”sex” value=”男” ?php echo ($stu[‘sex’] == “男”)? “checked”:””;? 男
/td
td
input type=”radio” name=”sex” value=”女” ?php echo ($stu[‘sex’] == “女”)? “checked”:””;? 女
/td
/tr
tr
td班級/td
tdinput type=”text” name=”classid” value=”?php echo $stu[‘classid’]?”/td
/tr
tr
td /td
tdinput type=”submit” value=”更新”/td
tdinput type=”reset” value=”重置”/td
/tr
/table
/form
/center
?php
?
/body
/html
5. menu.php
!DOCTYPE html
html lang=”en”
body
h2學生管理系統/h2
a href=”index.php” 瀏覽學生/a
a href=”add.php” 添加學生/a
hr
/body
/html
php 用戶註冊源碼
html
head
title用戶註冊/title
/head
body
strong用戶註冊/strong
form action=”reg.php” method=”post”
用戶名稱:input type=”text” name=”user”br
您的密碼:input type=”password” name=”pass”br
確定密碼:input type=”password” name=”pass2″br
input type=”submit” name=”submit” value=”註冊”
/form
/body
/html
?php
include (‘conn.php’); //這裡是您配置的數據庫
if($_POST[submit]){
//判斷用戶名不低於字數
$struser=strlen($_POST[user]);
if($struser = 4){
echo “script language=javascriptalert(‘註冊請輸入5位數以上’);history.go(-1);/script”;
exit;
}
//判斷用戶是否存在
$users=$_POST[user];
$result=mysql_query(“select * from manage where user=’$users'”);
$row=mysql_fetch_array($result);
if($_POST[user]==$row[user]){
echo “script language=javascriptalert(‘啊!這個名字有人註冊啦!’);history.go(-1);/script”;
exit;
}
//判斷用戶密碼兩次輸入正確
if($_POST[pass]!=$_POST[pass2]){
echo “script language=javascriptalert(‘親,別耍我啦,兩次密碼怎麼能輸入不一樣呢?’);history.go(-1);/script”;
exit;
}
$_POST[pass]=md5($_POST[pass]);
$sql=mysql_query(“insert into manage(id,user,pass)
VALUES(”,’$_POST[user]’,’$_POST[pass]’)
“);
if($sql){
echo “script language=javascriptalert(‘親,註冊成功!’);history.go(-1);/script”;
}
else {
echo “script language=javascriptalert(‘對不起,親!註冊失敗咯!’);history.go(-1);/script”;
}
exit;
}
mysql_close($con)
?
我自己寫的 很簡單,100%適合新人。加密了密碼,利用的是MD5
PHP源代碼怎麼用?
AppServ V2.5.9
AppServ 是 PHP 網頁架站工具組合包,泰國的作者將一些網路上免費的架站資源重新包裝成單一的安裝程序,以方便初學者快速完成架站,AppServ 所包含的軟件有:Apache、Apache Monitor、PHP、MySQL、PHP-Nuke、phpMyAdmin。 PHP 5.0.1 Apache 1.3.31 MySQL 4.0.20 Zend Optimizer 2.5.3 phpMyAdmin 2.6.0-rc1 Perl 5.8.4 這是本地配置PPHP一鍵盤安裝包
Discuz! 6.1.0下載地址
Discuz! 6.1.0 拿這個來說把,一般大家購買的空間FTP目錄里有個是WWW目錄然後下載Discuz! 6.1.0上傳/httpdocs目錄,何必你的地址是那就直接安裝就可以了 PHP需要mysql空間 一定要在空間商那裡把mysql賬號和密碼要來 安裝任何一個開源的PHP都需要MYSQL賬號和密碼的
原創文章,作者:小藍,如若轉載,請註明出處:https://www.506064.com/zh-hk/n/244632.html