SitePoint Sponsor |
|
User Tag List
Results 1 to 2 of 2
Thread: # in GET
-
May 9, 2003, 14:48 #1
- Join Date
- Apr 2003
- Location
- PA
- Posts
- 518
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
# in GET
There is a problem when trying to use # in a form that uses method=GET. As you may know, the # symbol is used to "jump" to certain parts of a page. For example: blah.htm#step2. Say you want to do something like this: profile.php?name=l#s3r. It won't work because the # is interpereted as a "jumper." Is there any way to solve this?
-
May 9, 2003, 14:54 #2
- Join Date
- Mar 2002
- Location
- Osnabrück
- Posts
- 1,003
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Have a look at the functions urlendcode() and urldecode() . They are used to replace special characters to be used via GET
http://www.php.net/urlencode
http://www.php.net/urldecode
Bookmarks