输入banner图图片脚本导航/分类

phpJSON跨域调用数据的例子

php文件:profile.php

  1. $arr = array(
  2. 'name' => '李飞麟',
  3. 'nick' => '深空',
  4. 'contact' => array(
  5. 'email' => 'shenkong at qq dot com',
  6. 'website' => 'http://bbs.it-home.org',
  7. )
  8. );
  9. $json_string = json_encode($arr);
  10. echo "getProfile($json_string)";
  11. ?>