我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

读取我的文件时出现意外输出

Everytime I use echo readfile('./'); die; It just outputs 0, when I want it to read the files in the directory. I also tried

$files_open = readfile('./');
$original_file = explode("
", $files_open);
print_r ($original_file);
die;

I get the same answer:

"0"

Is there another code or anything I could use to read my file? With my directory path being './' ?

近期文章

  • 通过nginx重定向到wordpress博客
  • 从db,Silverstripe中的表单保存数据
  • 无法在php中执行python脚本
  • 为什么JoomShopping插件不起作用?
  • 从数据库中检索对象数组
  • 如何在laravel sql查询中获得灵活性
  • (symfony2)如何使用ajax持久化实体
  • 使用或不使用函数返回引用
  • 用于PHP的Dropbox API正在使用localhost,但不在服务器上
  • Laravel 5:Migration-Route - Artisan :: call('migrate',array(' - force'=> true))停止
  • 在PHP中抓取内容后,我无法以正确的顺序回显
  • Guzzle 6在120秒后出现错误
  • comment_form()不起作用(Wordpress)
  • PHP - 节点DOM错误:“在null上调用成员函数getAttribute()”
  • 从表中删除一行
  • PHP打开.msg文件
  • 在本地运行APP时会出现NotFoundHttpException和ResourceNotFoundExceptionerror
  • 获取mobi / azw3的元数据
  • 无法在PHP中获取用户信息
  • WP查询如果在类别OR中具有分类

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华