您好我想要一个html代码,用我的用户给定的值替换我的网址中的 XXXXXXXXXXXXXXXXXXX 值并生成一个新的网址
以下是我的网址 https://www.facebook.com/connect/uiserver.php?method=stream.publish&redirect_uri=https://www.facebook.com&api_key=192236710846214& picture = XXXXXXXXXXXXXXXXXXX %3Flvh%3D1&来源= https://dl.dropboxusercontent.com/u/61636013/achille.swf&set=a.106020872877897.12204.100004099541771&type=1&theater& name =由Karthik发布%C2%AD& caption = Kaur&评论%C2%AD& description =%C2%For Fun
答案 0 :(得分:0)
最好的是你使用php:
<?php
$x="XXXXXXXXXXXXXXXXXXX";
$location= "https://www.facebook.com/connect/uiserver.php?
method=stream.publish&redirect_uri=https://www.
facebook.com&api_key=192236710846214 &picture=".
$x.
"%3Flvh%3D1& source=https://dl.dropboxusercontent.com
/u/61636013/achille.swf&set=a.106020872877897.12204.
100004099541771&type=1&theater &name=Posted by
Karthik%C2%AD&caption=Kaur & comment%C2%AD&description=%C2%";
header("Lcation:".$location);
?>