Comments (5)
尝试使用其他语言进行读取python
f = open("env",encoding = "utf-8")
#输出读取到的数据
print(f.read())
运行结果是可以读到完整的内容
from framework.
手动编辑下吧 top-think/think#1061
from framework.
强烈建议考虑更换掉 tp 的 env 解析引擎 [Dog!]
我自己维护的包就用它了:vlucas/phpdotenv
from framework.
强烈建议考虑更换掉 tp 的 env 解析引擎 [Dog!]
我自己维护的包就用它了:
vlucas/phpdotenv
抱歉,我不是env解析引擎问题,是我通过php自带函数进行读取.env文件内容,读取不到
from framework.
Close of top-think/think@9df20a8
from framework.
Related Issues (20)
- The memory overflow problem exists in the framework of versions later than 8.0.0 HOT 5
- Reflected XSS(Cross Site Scripting) HOT 1
- 框架加载配置文件期间的异常无法捕获
- 编辑器提示存在漏洞 HOT 3
- Log::getLog()获取不到日志内容 HOT 1
- composer安装thinkphp8安装失败 HOT 3
- cache 使用redis,并使用getex指令,无法获取前缀 HOT 2
- tp8的session机制改变了吗? HOT 2
- Validate对于有序数组的校验 HOT 1
- 简单的一个测试就报错?是我小白,还是? HOT 4
- Session的Facade能不能也加上Cookie/Cache@method
- url生成出现多个index.php HOT 1
- 数据验证类 validate 有关mobile格式 HOT 1
- PHP8.4+版本中大量异常报错 HOT 1
- [bug]获取主机名方法 `request()->domain()` `request()->host()` 的返回,都没有带端口号 HOT 8
- 异常处理需要进一步优化 HOT 2
- 内存泄漏 HOT 7
- tp8遇到一些白屏500问题 HOT 2
- 路由规则变量使用post接收list数据时传递的变量会变成list的第一个,传递object的时候正常
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.