开发者

How to put a link as an parameter in a request?

I'd like to do something like:

http://url.com/page?link=http://otherpage.com/something?action=action&id=6

but of course I can't because it would confuse everything (which ? would it consider as "right" and which &).

Solution? Ja开发者_运维技巧va tip?


You should url encode the variable.

P.s. What do you mean with "java tip"?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜