By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,830 Members | 2,271 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,830 IT Pros & Developers. It's quick & easy.

Enable characters like + or - in GET.

Ajm113
100+
P: 161
I created this form that submits well and I see the chracters like - or + in the address, but then when it seems I &_GET the address variables in the next page it looks that it gets rid of them when it echoes out...

Does htmlentities or stripslahes have to do with this in php?


Problem:
http://www.bombinaid.com/Browse/?category=C#&type=1

It just shows C then C# for some reason...
Aug 21 '08 #1
Share this Question
Share on Google+
2 Replies


pbmods
Expert 5K+
P: 5,821
Heya, AJM.

# has special meaning in a URL. Use urlencode() to escape it for inclusion in a URL (http://php.net/urlencode).
Aug 22 '08 #2

Ajm113
100+
P: 161
Heya, AJM.

# has special meaning in a URL. Use urlencode() to escape it for inclusion in a URL (http://php.net/urlencode).
Sorry for the late reply, but thanks! I got it going, idk if it was before you posted or after, but anyways thanks for replying anyways! :D
Aug 31 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.