![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
php
裸禄棍交比火牛
这个作者很懒,什么都没留下…
展开
-
PHP之数组元素的排序
<?php//----------------------01-------------------------------------$str =array('王丹'=>'67','李明'=>'83','王华'=>'75','张强'=>'96','朱芳'=>'89');$len = count($str);$r = mt_rand(0,$len);//获取任意键function KeyName(array $a, $pos) { $temp .原创 2020-05-25 20:31:24 · 185 阅读 · 0 评论 -
PHP之表单提交
//1830311-范梓浩 <!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>5/11-表单作业</title> </head> <style> ...原创 2020-05-25 20:29:37 · 184 阅读 · 0 评论 -
PHP之cookie免登录
<!DOCTYPE html><html> <head> <meta charset="utf-8"> <title>免登录</title> </head> <body> <?php if(isset($_POST['dl'])){ $user =$_POST["us"]; $paw =$_POST['pw']; $che =$_POST['che']; s原创 2020-05-25 20:27:57 · 539 阅读 · 0 评论 -
PHP字符串函数
//trim(),rtrim(),ltrim()//它们的作用是:移除字符袭串两侧的空白字符或其他预定义字符。$str = "Hello World!";echo $str."<br/>";echo trim($str,"Hed!")."<br/>";echo ltrim($str,"He")."<br/>";echo rtrim($str,"ld...原创 2020-04-22 22:49:13 · 108 阅读 · 0 评论 -
PHP之wampserver修改根目录与默认页面
PHP之wampserver修改根目录与默认页面一、配置文件 httpd.conf二、更改 wampmanager.ini 文件三、更改wampmanager.tpl文件四、修改默认页面一、配置文件 httpd.conf 1. 鼠标左键点击 WAMPServer 图 标 , 选 择 Apache , 选 择httpd.conf 文件 ; 2. ctrl+F 快捷键,查找“DocumentR...原创 2020-04-22 17:27:14 · 1176 阅读 · 0 评论