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

在PHP中将标记保存为字符串

I have a token.php file that generates the token of my server in order to make a stream to work. What i want to do is to response from the server as a string i have tryed the code below but it's not working

$my_var = file_get_contents('example.com/token.php'); 
echo $my_var;

You are getting literal content from token.php Try:

$my_var = file_get_contents('http://example.com/token.php');
echo $my_var;

近期文章

  • too long
  • 如果$ player在第三个范围内介于5到9之间,则运行php代码
  • Php:mysqli错误:警告:array_push()期望参数1为数组,在[关闭]中给出null
  • 如何将数据插入自定义数据库或您可以说如何在一个Wordpress站点中使用两个数据库
  • 如何使用jAutoCalc插件将多行动态表转换为Mysql数据库
  • 基础c语言问题:我输入字母就直接输出无用数字,怎么解决(求指教)
  • Let's play UNO 怎么实现呢
  • Farey Sequence Again 程序编写的法则
  • Surprising Strings 的代码的编写
  • Falling Ice 实现的过程
  • Dominos 2 怎么来实现的
  • 求助!!怎么把这段JS代码转换成JQuery
  • Logo 2 C语言
  • Zerg Rush!!! 编写的思路
  • Colliding Traffic 代码实现
  • The Two Note Rag 实现的过程
  • Area of Polycubes 立方体的问题
  • Equilibrium Mobile
  • Proving Equivalences 编写的思想
  • 远程的oracle数据库,localhost.localdomain这个机器占用链接数较多如何解决

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华