PHP URL GET parameters inside URL parameter

Posted by user547794 on Stack Overflow See other posts from Stack Overflow or by user547794
Published on 2011-01-17T23:50:56Z Indexed on 2011/01/17 23:53 UTC
Read the original article Hit count: 122

Filed under:

Hello,

I am developing facebook/myspace content share buttons. The Facebook link takes you to a URL on my website, but I need to pass additional parameters to my URL along with the parameters passed to facebook. Here's my example:

http://www.facebook.com/share.php?t=MyCompany&u=http://foobar.com/test7.php?Share=161&FbShare=Facebook28

Do I need to escape something inside the "u" parameter?

© Stack Overflow or respective owner

Related posts about php