Skip to main content
  • 博客
    • div+css 博客
    • javascript 博客
      • vue 博客
    • php 博客
      • 微信 博客
  • php
    • drupal
    • composer
    • thinkphp
    • onethink
    • laravel
    • Swoole
    • dedecms
    • magento
    • smarty
    • ecshop
    • zencart
    • joomla
    • discuz
    • wordpress
    • yii
    • 微信
    • 抖音
    • ci
    • weiphp
    • destoon
  • python
    • plone
  • apache
  • nginx
  • cache
    • memcache
    • redis
  • div+css
  • javascript
    • jquery
    • typescript
    • Vue.js
    • Amaze
    • zepto
    • react
    • underscore
    • backbone
    • angular
    • lodash
    • layui
    • js特效
  • vbscript
  • photoshop ai
  • sql
    • mysql
    • mssql
    • oracle
  • regular
  • node.js
  • 腾讯开放平台
  • dreamweaver
  • linux
  • seo
  • app
  • asp及asp.net
  • flash
  • iis
  • java
  • mac
  • wap
  • windows
    • dos
    • 打印机
  • 其它
  • 浏览器
  • 网络
  • AD域 (exchange)
  • 虚拟机
  • AC
  • ai
  • 简写翻译

欢迎各位兄弟 发布技术文章

这里的技术是共享的

个人技术网_前端_后台_php_div_css_linux_javascript_seo 个人技术网_前端_后台_php_div_css_linux_javascript_seo

搜索表单

用户登录

  • 重设密码

How can I redirect a Drupal user after they create new content drupal7 d7 保存表单后 重定向 跳转 自己亲自做的 有大用 有大大用 有大大大用

星期五, 2021-12-03 02:11 — adminshiping1

普通分类: 
drupal
  • Read more about How can I redirect a Drupal user after they create new content drupal7 d7 保存表单后 重定向 跳转 自己亲自做的 有大用 有大大用 有大大大用

drupal7 d7 自己亲自做的 公共文件 私有文件 上传后只能有权限的人看到图像文件, 其它人看不到 有大用 有大大用 有大大大用

星期五, 2021-12-03 01:47 — adminshiping1

1) http://drupal.org/documentation/modules/field 模块

http://drupal.org/documentation/modules/field-ui  模块

http://drupal.org/project/content_access  这个模块好像是不需要安装的



/admin/config/media/file-system/filefield-paths

普通分类: 
drupal
  • Read more about drupal7 d7 自己亲自做的 公共文件 私有文件 上传后只能有权限的人看到图像文件, 其它人看不到 有大用 有大大用 有大大大用

具有公共文件访问权限集的Drupal私有文件下载 system files files private 有大用 有大大用 有大大大用 有大大大大用

星期五, 2021-12-03 00:32 — adminshiping1

Drupal有两种允许用户下载文件的方式,它们是私有的和公共的。

普通分类: 
drupal
  • Read more about 具有公共文件访问权限集的Drupal私有文件下载 system files files private 有大用 有大大用 有大大大用 有大大大大用

php 复制文件到指定目录

星期四, 2021-12-02 23:21 — adminshiping1

复制一个文件到指定的目录,可自行设置文件目的目录及复制的文件的文件名


<?php

//复制图片

function file2dir($sourcefile, $dir,$filename){

     if( ! file_exists($sourcefile)){

         return false;

     }

     //$filename = basename($sourcefile);

     return copy($sourcefile, $dir .''. $filename);

}

file2dir("01/5.jpg", "01/successImg/","a.jpg");

?>






普通分类: 
php
  • Read more about php 复制文件到指定目录

File module overview 有大用

星期四, 2021-12-02 16:53 — adminshiping1
普通分类: 
linux
  • Read more about File module overview 有大用

Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration failed 有大用

星期四, 2021-12-02 16:34 — adminshiping1

摘要:在重新启动apache的时候,提示错误,查看日志,错误内容如下:Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration

普通分类: 
apache
  • Read more about Invalid command 'php_admin_value', perhaps misspelled or defined by a module not included in the server configuration failed 有大用

宝塔面板配置记录 配置 php 可以进入执行的目录 有大用 有大大用

星期四, 2021-12-02 16:04 — adminshiping1

[root@js1p-es-web conf]# locate .com.conf  | grep bbbb-admin | grep -v backup

/www/server/panel/vhost/apache/aaaa.bbbb-admin.com.conf

/www/server/panel/vhost/nginx/aaaa.bbbb-admin.com.conf

/www/server/panel/vhost/open_basedir/nginx/aaaa.bbbb-admin.com.conf    #难不成是这个文件,好像不是

/www/server/panel/vhost/openlitespeed/aaaa.bbbb-admin.com.conf    #难不成是这个文件,好像也不是

/www/server/panel/vhost/openlitespeed/detail/aaaa.bbbb-admin.com.conf

普通分类: 
apache
  • Read more about 宝塔面板配置记录 配置 php 可以进入执行的目录 有大用 有大大用

文件模块概述 有大用

星期四, 2021-12-02 15:58 — adminshiping1
普通分类: 
composer
  • Read more about 文件模块概述 有大用

文件 上传 查看 权限 私有文件 权限 有大用 有大大用

星期四, 2021-12-02 15:54 — adminshiping1
普通分类: 
drupal
  • Read more about 文件 上传 查看 权限 私有文件 权限 有大用 有大大用

在apache配置文件中设置php上传临时目录 有大用

星期四, 2021-12-02 15:53 — adminshiping1

在服务器上配置webmail(比如我最喜欢的SquirrelMail)时,出于服务器安全考虑,一般在apache配置文件中作


php_admin_value open_basedir <path to web root>


的限制,防止php程序浏览整个硬盘,这个限制在使用虚拟主机的服务器上使用的更多。


然而这个安全措施带来一个隐含的限制,就是php的上传临时目录(默认为/tmp)无法被php程序访问,导致webmail中上传附件时失败,比如SquirrelMail提示“Could not move/copy file. File Not Attached.”(“无法移动/复制文件。文件需要被附在邮件上”)。


通过在apache配置文件中添加一个设置


php_admin_value upload_tmp_dir <path to temp dir>


让php程序在上传时使用指定的目录作为临时文件目录。


当然,要注意此目录的权限设置要让apache的运行用户能写入。

普通分类: 
apache
  • Read more about 在apache配置文件中设置php上传临时目录 有大用

一个虚拟机的配置 ok httpd-vhosts.conf 有大用 有大大用

星期四, 2021-12-02 15:45 — adminshiping1

[root@mail vhost]# cat xiaozhuadbtest.kfqd.cn.conf

<VirtualHost *:88>

DocumentRoot /home/wwwroot/xiaozhuadbtest_kfqd_cn/public_html

ServerName xiaozhuadbtest.kfqd.cn

ErrorDocument 400 /errpage/400.html

ErrorDocument 403 /errpage/403.html

ErrorDocument 404 /errpage/404.html

php_admin_value open_basedir /home/wwwroot/xiaozhuadbtest_kfqd_cn:/tmp        #php 能打开能进入的目录 有这个权限

<IfModule mod_deflate.c>

DeflateCompressionLevel 7

普通分类: 
apache
  • Read more about 一个虚拟机的配置 ok httpd-vhosts.conf 有大用 有大大用

php 变量表示方法 有大用

星期四, 2021-12-02 13:00 — adminshiping1

${aaa}   

'${aaa}' 放在单引号里只能作为字符串

"${aaa}"  可放在双引号里,作为变量


$aaa

'$aaa' 放在单引号里只能作为字符串

"$aaa"  可放在双引号里,作为变量



普通分类: 
php
  • Read more about php 变量表示方法 有大用

让Drupal在登录后自动跳转到登录之前的页面 上一页面 有大用

星期四, 2021-12-02 12:53 — adminshiping1

让Drupal在登录后自动跳转到登录之前的页面

在模版页内用l()加入如下登录链接:


l("登录", "user/login", array('attributes' => array('title' => t('登录唯枫志')), 'query' => drupal_get_destination()))

普通分类: 
drupal
  • Read more about 让Drupal在登录后自动跳转到登录之前的页面 上一页面 有大用

php pdf添加水印(中文水印,图片水印) 有大用

星期四, 2021-12-02 11:36 — adminshiping1

1.下载软件包

普通分类: 
php
  • Read more about php pdf添加水印(中文水印,图片水印) 有大用

内容 审核 审核 已发布功能 有大用

星期四, 2021-12-02 11:20 — adminshiping1

https://www.drupal.org/project/content_approval


普通分类: 
drupal
  • Read more about 内容 审核 审核 已发布功能 有大用

一个drupal网站的审核发布功能实现 有大用

星期四, 2021-12-02 11:12 — adminshiping1

一个drupal 7网站,前期工作基本结束,到文章审核发布的环节了。于是考查了几个drupal的类似功能的模块。

普通分类: 
drupal
  • Read more about 一个drupal网站的审核发布功能实现 有大用

drupal7 d7 删除问题评论中的回复链接 有大用 有大大用

星期四, 2021-12-02 00:25 — adminshiping1
普通分类: 
drupal
  • Read more about drupal7 d7 删除问题评论中的回复链接 有大用 有大大用

drupal permissions by content type comment drupal7 d7 针对某一种内容类型评论的权限 有大用 有大大用

星期四, 2021-12-02 00:04 — adminshiping1

好像作用不大,可以看看

https://www.drupal.org/project/comment_perm 模块

普通分类: 
drupal
  • Read more about drupal permissions by content type comment drupal7 d7 针对某一种内容类型评论的权限 有大用 有大大用

评论 comment的建议模板 有大用 有大大用

星期三, 2021-12-01 16:37 — adminshiping1


在模板的 template.php文件中,如下的hooke函数可以看到建议模板 



普通分类: 
drupal
  • Read more about 评论 comment的建议模板 有大用 有大大用

mac chrome 怎么强制刷新 来自 https://jingyan.baidu.com/article/624e7459145a5634e8ba5ac4.html 有大用

星期三, 2021-12-01 14:25 — adminshiping1

在用到此浏览要刷新浏览器页面,哪改如何才可以刷新的呢?该如何才可以强制刷新页面?

普通分类: 
浏览器
  • Read more about mac chrome 怎么强制刷新 来自 https://jingyan.baidu.com/article/624e7459145a5634e8ba5ac4.html 有大用

Drupal7 d7 Get Comments Of Node 根据节点得到评论 有大用

星期三, 2021-12-01 12:21 — adminshiping1

Is there an easy way to get the comments of a node programmatically in Drupal 7?



1)

普通分类: 
drupal
  • Read more about Drupal7 d7 Get Comments Of Node 根据节点得到评论 有大用

drupal7 d7 中评论不使用标题 title subject 有大用 有大大用

星期三, 2021-12-01 11:16 — adminshiping1

In Drupal 7, the comment title setting is under "admin/structure/types/manage/[CONTENT TYPE]

普通分类: 
drupal
  • Read more about drupal7 d7 中评论不使用标题 title subject 有大用 有大大用

Excel表格数据丢失怎么恢复 断电 数据 恢复 有大用

星期二, 2021-11-30 23:19 — adminshiping1

所有的办公软件中,Excel是工作中使用最多的表格程序,如果不小心遇到一些突然断电等意外的情况,工作中的数据没有来得及保存,这样表格数据还能会在吗,表格数据丢失了可以恢复吗?不用担心,小编告诉大家这样的情况下我们是可以丢失的表格数据哦!

普通分类: 
其它
  • Read more about Excel表格数据丢失怎么恢复 断电 数据 恢复 有大用

Uncaught TypeError: Cannot read properties of undefined (reading 'version') Uncaught TypeError: Cannot read properties of undefined (reading 'msie') 有大用 有大大用

星期二, 2021-11-30 20:39 — adminshiping1

普通分类: 
drupal
  • Read more about Uncaught TypeError: Cannot read properties of undefined (reading 'version') Uncaught TypeError: Cannot read properties of undefined (reading 'msie') 有大用 有大大用

drupal node to type to another type 把内容 从一种类型转换为 另一种内容类型 有大用 有大大用

星期二, 2021-11-30 16:25 — adminshiping1

https://www.drupal.org/project/node_convert   这个节点内容类型转换


普通分类: 
drupal
  • Read more about drupal node to type to another type 把内容 从一种类型转换为 另一种内容类型 有大用 有大大用

telnet退出命令是什么? 中止 怎么退出telnet 有大用 来自 https://jingyan.baidu.com/article/6d704a13214f6228db51ca1a.html

星期一, 2021-11-29 17:21 — adminshiping1

telnet是维护人员经常用的一种工具,虽然近来有被ssh替换的趋势,但在一些特殊场合,它还是继续要发光发热。

普通分类: 
windows
  • Read more about telnet退出命令是什么? 中止 怎么退出telnet 有大用 来自 https://jingyan.baidu.com/article/6d704a13214f6228db51ca1a.html

Linux 教程 有大用 有大大用

星期一, 2021-11-29 13:25 — adminshiping1

来自  https://www.runoob.com/linux/linux-tutorial.html


普通分类: 
linux
  • Read more about Linux 教程 有大用 有大大用

ping 有大用

星期一, 2021-11-29 13:19 — adminshiping1

ping  -I 源地址 目的的地址      (这里是 大写的i)


例ii

ping  -I  192.168.0.10  www.baidu.com    #表示 从    192.168.0.10 地址 ping 百度 

普通分类: 
linux
  • Read more about ping 有大用

mac book如何打开磁盘工具 来自 https://jingyan.baidu.com/article/e73e26c04ad49224acb6a769.html 有大用

星期一, 2021-11-29 12:41 — adminshiping1

磁盘工具是管理Mac磁盘的工具,那么你要打开它,如何打开?怎么打开?总之在哪里可以打开它?

普通分类: 
mac
  • Read more about mac book如何打开磁盘工具 来自 https://jingyan.baidu.com/article/e73e26c04ad49224acb6a769.html 有大用

5分钟让你知道什么是PKI 有大用

星期一, 2021-11-29 11:14 — adminshiping1

Public Key Infrastructure(PKI),中文叫做公开密钥基础设施,也就是利用公开密钥机制建立起来的基础设施。但是如果这么解释起来,到底是个什么东西,大家想必是没办法理解的。

普通分类: 
linux
  • Read more about 5分钟让你知道什么是PKI 有大用

页面

  • « 第一页
  • ‹ 前一页
  • …
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • …
  • 下一页 ›
  • 末页 »
Subscribe to 个人技术网_前端_后台_php_div_css_linux_javascript_seo RSS
Powered by Drupal

友情链接

校园好文网

 www.shipingzhong.cn  个人技术网_前端_后台    备案号:苏ICP备18010659号-2