01 2024 档案

摘要:该方法返回的是一个bool值 package main import "regexp" import "fmt" // 正则过滤sql注入的方法 // 参数 : 要匹配的语句 func FilteredSQLInject(to_match_str string) bool { //过滤 ‘ //OR 阅读全文
posted @ 2024-01-31 17:31 tochenwei 阅读(85) 评论(0) 推荐(0) 编辑
摘要:#unzip swoole-v4.8.13.zip#cd swoole-v4.8.13#/usr/local/php/bin/phpize#./configure --with-php-config=/usr/local/php/bin/php-config#make && make install 阅读全文
posted @ 2024-01-22 23:59 tochenwei 阅读(97) 评论(0) 推荐(0) 编辑
摘要:#wget https://xdebug.org/files/xdebug-3.2.2.tgz#tar -xvzf xdebug-3.2.2.tgz#cd xdebug-3.2.2 #/usr/local/php/bin/phpize#./configure -enable-xdebug --wit 阅读全文
posted @ 2024-01-22 23:14 tochenwei 阅读(178) 评论(0) 推荐(0) 编辑
摘要:整个执行的思路: 1 先放弃服务器本地的修改,把代码从git管理服务器检出,最新的代码。 2 复制配置测试或生产环境配置文件到工程里面。 3 文件夹的权限重新覆盖。 比如把下面这段bash 脚本命名为test_shop.sh,赋予它可执行的权限。 chmod a+x test_shop.sh #!/ 阅读全文
posted @ 2024-01-12 11:17 tochenwei 阅读(3) 评论(0) 推荐(0) 编辑
摘要:1 由于我的是phpstudy集成环境,直接找到php.ini的位置: D:\phpstudy_pro\Extensions\php\php7.3.9nts\php.ini 在文件尾部直接添加 [Xdebug] zend_extension=D:/phpstudy_pro/Extensions/ph 阅读全文
posted @ 2024-01-05 15:05 tochenwei 阅读(61) 评论(0) 推荐(0) 编辑