Jump to content

? character in link


UnknownPlayer

Recommended Posts

I have problem, there are users with "?" character in username, and their address to profile is /profile/username/.

I have var: $username that is that username, now, how can i replace all that characters which cant open users profile..

I mean for "?" i need to put "%3F", how can i replace?

I know with str_replace, but is there any other solution like htmlencode or something like that? :S

Link to comment
https://forums.phpfreaks.com/topic/219487-character-in-link/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.