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

从php出来的Json正在添加一些额外的字符

i am trying to output json for my web application http://www.mohammediatechnologies.in/fbdownload/youtubedl.php?name=www.facebook.com/ladygaga/videos/vb.10376464573/10153640467779574/?type=2&theater for this url mentioned json is not properly formatted with extra strings i am using following code.

$urlf = json_encode(array( ''=> $result));
echo $ urlf;

and $result is properly formatted json any help will be appreciated i am stuck here

近期文章

  • AJAX和PHP崩溃服务器
  • Joomla 3.4.4。 tmp目录
  • php将json传递给angularjs
  • Laravel查询无法正常工作
  • 从服务器发送邮件时出错?
  • Zend \ Db \ Sql \选择使用函数作为表
  • PHP联系表单获取错误“missing_mailbox @ syntax_error”
  • 如何解决错误图像源不可读
  • 从另一个脚本中获取变量
  • 将模式添加到元<head> -tag:wordpress
  • 如何在php网站的服务页面中使用<base>标签
  • 获取错误无法修改标头信息
  • MySQL View无法通过shell命令执行
  • 使用Spark在Codeigniter中获取api where子句
  • php curl无法正常使用shopify api
  • 精简搜索值不会显示在opencart主题中
  • 在codeigniter中,挂钩无法在服务器上运行
  • Propel ORM - 在委托表的列上使用setByName
  • 响应式表单,最初将显示表中PHP变量的数据
  • 我的lnmp有什么问题?

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

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

友情链接:代码精华