PHP

WordPress githuber-md插件xml代码块不显示解决

WordPress githuber-md插件xml代码块不显示解决

WordPress githuber-md插件xml代码块不显示解决: WP Githuber MD 插件设置 -> 偏好设定 -> 禁用 解码程式码区块 c代码块中<>等符号不显示解决:改成HTML转义符即可 #include <stdint.h> 改为: #i

Joe.Ye Joe.Ye 2024-01-13
0 0 1
PHP 输入流 php://input

PHP 输入流 php://input

转载至:https://phper.shujuwajue.com/shu-zu/shu-ru-liu-php-input $_POST 与 php://input 仅在取值为application/x-www-data-urlencoded和multipart/form-data时(文件上传时),

Joe.Ye Joe.Ye 2023-05-01
0 0 1
PHP调用AWS SES服务发送邮件报403 Forbidden SignatureDoesNotMatch

PHP调用AWS SES服务发送邮件报403 Forbidden SignatureDoesNotMatch

错误描述 使用sdk-for-php:https://docs.aws.amazon.com/zh_cn/sdk-for-php/v3/developer-guide/welcome.html $emailConfig = [ 'key' =>

Joe.Ye Joe.Ye 2023-03-28
0 0 0
AWS SES通过PHP发送带附件的邮件

AWS SES通过PHP发送带附件的邮件

AWS发送邮件只能发送不带附件的,可以直接调方法sendEmail,但是发送带附件的邮件,用sendRawEmail必须自己写MIME邮件格式的邮件,不像sendEmail那样方便 参考文档:https://docs.aws.amazon.com/zh_cn/sdk-for-php/v3/devel

Joe.Ye Joe.Ye 2023-03-28
0 0 0
提升WooCommerce商店的安全性

提升WooCommerce商店的安全性

使用良好的安全性插件 可以使用以下插件来提高WordPress电子商务网站的安全性。注意使用不同的安全性插件会导致严重问题,因此请确保选择一个并单独在您的网站上使用该插件。以下是推荐的插件: iThemes安全: https://ithemes.com/security/ Sucuri安全: h

Joe.Ye Joe.Ye 2023-03-25
0 0 0
woocommerce plugin add_action always return -1

woocommerce plugin add_action always return -1

Problem add_action( 'woocommerce_api_wc_gateway_test', 'check_response'); function check_response() { echo 'test';

Joe.Ye Joe.Ye 2023-03-25
0 0 0
WordPress插件开发注意事项

WordPress插件开发注意事项

Using CURL Instead of HTTP API WordPress comes with an extensive HTTP API that should be used instead of creating your own curl calls. It’s both faste

Joe.Ye Joe.Ye 2023-03-25
0 0 0
ZenCart类库payment.php解读实现原理

ZenCart类库payment.php解读实现原理

路径:includes/classes/payment.php paypal:includes/modules/payment/paypal.php 参考:https://blog.csdn.net/yueyekonglong/category_9655974.html __construct C

Joe.Ye Joe.Ye 2023-03-25
0 0 0
ZenCart安装配置及二次开发记录

ZenCart安装配置及二次开发记录

官网:https://www.zen-cart.com/index.php 样例数据 When you installed, there was a checkbox that asked if you wanted to install the demo products. You can ins

Joe.Ye Joe.Ye 2023-03-25
0 0 0
基于Laravel的开源 Redis Web 管理工具

基于Laravel的开源 Redis Web 管理工具

对于 Mysql 来说,有最流行的 web 管理工具phpMyAdmin,但是 Redis 一直都没有找到合适好用的管理工具,redis-manager是一个 Laravel 扩展包,运行在 Laravel 项目中,方便日常开发和运营。 地址:Github | Demo 安装非常简单: $ com

Joe.Ye Joe.Ye 2023-03-25
0 0 0
Magento解决https反向代理后admin路径跳转到http问题

Magento解决https反向代理后admin路径跳转到http问题

修改core_config_data表 path: web/unsecure/base_url value: https://m2.yezhou.me/ # php bin/magento cache:clean

Joe.Ye Joe.Ye 2023-03-25
0 0 0
Magento接入Varnish

Magento接入Varnish

Varnish是一款高性能的开源HTTP加速器,可以有效降低web服务器的负载,提升访问速度。根据官方的说法,Varnish是一个cache型的HTTP反向代理。 基于M2.3.5和Varnish4.x 安装Varnish wget http://dl.fedoraproject.org/pub

Joe.Ye Joe.Ye 2023-03-25
0 0 0
Magento接入CronjobManager

Magento接入CronjobManager

如果需要修改定时任务的执行时间,需要修改crontab.xml,并清缓存。 这里推荐一个插件:https://github.com/Ethan3600/magento2-CronjobManager 部署完成后,可以直接在后台修改crontab相关的配置,相当方便。 Installation In

Joe.Ye Joe.Ye 2023-03-25
0 0 0
Magento SMTP扩展配置

Magento SMTP扩展配置

SMTP是一种提供可靠且有效的电子邮件传输的协议。 一般使用mageplaza的SMTP扩展发送邮件。 安装mageplaza composer require mageplaza/module-smtp php bin/magento setup:upgrade php bin/magento

Joe.Ye Joe.Ye 2023-03-25
0 0 0
Magento接入MongoDB

Magento接入MongoDB

MongoDB是非关系型数据库(nosql),属于文档型数据库。 可以替代MySQL,但不建议。原因当然不止不支持事务一个,但是单单这一个,就使得MongoDB无法完全取代MySQL。 个人一般在业务比较单一的情况下使用MongoDB,比如日志记录。 安装mongodb 官方文档:https://

Joe.Ye Joe.Ye 2023-03-25
0 0 0
1 2 3 6