I hate looking these up, and I always forget... but PHP has a great builtin function to help you out:
.
| string | urlencod()'d string |
| hi, thanks for the hack <foo> | hi%2C+thanks+for+the+hack+%3Cfoo%3E |
| #00ff00 | %2300ff00 |
| http://www.niche-health-products.com/?affid=356 | http%3A%2F%2Fwww.niche-health-products.com%2F%3Faffid%3D356 |
| ?affid=356 | %3Faffid%3D356 |
| % | %25 |
| | + |
| ' ' | %27+%27 |
| º | %C2%BA |
| ºC | %C2%BAC |
| %01 | %2501 |
| I like big butts and I cannot lie, you other brothers can't deny | I+like+big+butts+and+I+cannot+lie%2C+you+other+brothers+can%27t+deny |
| How do I encode a '<' symbol in a URL? | How+do+I+encode+a+%27%3C%27+symbol+in+a+URL%3F |
| lol | lol |
| #%#% | %23%25%23%25 |
| * | %2A |
| tae | tae |
| gopal# | gopal%23 |
| @ | %40 |
| asdfa3 3 | asdfa3++3 |
| d | +++d |
| pioverà | piover%C3%A0 |
| %2C | %252C |
| http://wild-type.com/tng/tng3/places-oneletter.php?offset=2&psearch=Calumet%2C+Wisconsin | http%3A%2F%2Fwild-type.com%2Ftng%2Ftng3%2Fplaces-oneletter.php%3Foffset%3D2%26psearch%3DCalumet%252C%2BWisconsin |
| feef | feef |
| å | %C3%A5 |
| ö | %C3%B6 |
| ä | %C3%A4 |
| Å | %C3%85 |
| Ä | %C3%84 |
| Ö | %C3%96 |
| &option=com_cmsrealty& | %26option%3Dcom_cmsrealty%26 |
| <PESCXML:MeteorRsMsg xmlns:PESCXML=\"http://schemas.pescxml.org\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" PESCXMLVersion=\"1.0.0\" xsi:schemaLocation=\"http://schemas.pescxml.org Meteor_Schema_1-0-0.xsd\"> | %3CPESCXML%3AMeteorRsMsg+xmlns%3APESCXML%3D%5C%22http%3A%2F%2Fschemas.pescxml.org%5C%22+xmlns%3Axsi%3D%5C%22http%3A%2F%2Fwww.w3.org%2F2001%2FXMLSchema-instance%5C%22+PESCXMLVersion%3D%5C%221.0.0%5C%22+xsi%3AschemaLocation%3D%5C%22http%3A%2F%2Fschemas.pescxml.org+Meteor_Schema_1-0-0.xsd%5C%22%3E |
| www.facebook.com | www.facebook.com |
| http://www.facebook.com | http%3A%2F%2Fwww.facebook.com |
| På må og få viser vi æøå | P%C3%A5+m%C3%A5+og+f%C3%A5+viser+vi+%C3%A6%C3%B8%C3%A5 |
| hi is is how | hi+is+is+how |
| http://www.transtrader.eu/nib/login/login_chartisteinitié.php | http%3A%2F%2Fwww.transtrader.eu%2Fnib%2Flogin%2Flogin_chartisteiniti%C3%A9.php |
| login_chartisteinitié.php | login_chartisteiniti%C3%A9.php |
| http://onet.pl/ | http%3A%2F%2Fonet.pl%2F |
| ', | %27%2C |
| we'r | we%27r |
| htt://www.yahoo.com?a=we'are | htt%3A%2F%2Fwww.yahoo.com%3Fa%3Dwe%27are |
| " | %22 |
| vaas' | vaas%27 |
| A&E | A%26E |
| my cat say brrrr | my+cat+say+brrrr |
| + test + | %2B+test+%2B+ |
| %3A%2F%2F | %253A%252F%252F |
| file=http%3A%2F%2Fcdn.buzznet.com%2Fassets%2Fvideox%2F3%2F4%2F1%2F7%2F3%2F9%2F1%2Fvid-3417391.flv%3F1218133282 | file%3Dhttp%253A%252F%252Fcdn.buzznet.com%252Fassets%252Fvideox%252F3%252F4%252F1%252F7%252F3%252F9%252F1%252Fvid-3417391.flv%253F1218133282 |
| Ã | %C3%83 |
| á | %C3%83%C2%A1 |
| / | %2F |
| Very Nice Site! Thanx!
| Very+Nice+Site%21+Thanx%21%0D |
| http://excellent-credit-card.blogspot.com | http%3A%2F%2Fexcellent-credit-card.blogspot.com |
| http://webact.symantec.com/webact-redirect.jsp?PCODE=AU&SO={98B9562C-8832-4381-8D34-694F2A0022F3}&VER=2&actreq=%2F24587007%2F18P6PMMD%2FYFSf%2F%2FA%2F4%2FQ19Q40UICnIl1j%2FEHBNj0Jt5%2b%2F%2Fd3ZGY1Q%2FADLcNsRCduANxAdwUEwAbnFHx%2FVGBUYVXBP7AKA68L%2F0069000310030 | http%3A%2F%2Fwebact.symantec.com%2Fwebact-redirect.jsp%3FPCODE%3DAU%26SO%3D%7B98B9562C-8832-4381-8D34-694F2A0022F3%7D%26VER%3D2%26actreq%3D%252F24587007%252F18P6PMMD%252FYFSf%252F%252FA%252F4%252FQ19Q40UICnIl1j%252FEHBNj0Jt5%252b%252F%252Fd3ZGY1Q%252FADLcNsRCduANxAdwUEwAbnFHx%252FVGBUYVXBP7AKA68L%252F0069000310030 |
| %c3%96 | %25c3%2596 |
| Ö | %C3%96 |
| / | %2F |
| ? | %3F |
| %252F | %25252F |
| ?query=select%20distinct(p.products_id),%20p.manufacturers_id,p.web_only,p.products_gaming,p.free_shipping,p.award_winner,p.clearance,p.products_date_added,p.products_price,%20p.products_tax_class_id%20from%20products_description%20pd,%20products%20p%20left%20join%20manufacturers%20m%20on%20p.manufacturers_id%20=%20m.manufacturers_id,%20products_to_categories%20p2c%20where%20p.products_status%20=%20'1'%20and%20p.products_id%20=%20p2c.products_id%20and%20pd.products_id%20=%20p2c.products_id%20and%20pd.language_id%20=%20'1'%20and%20(p.products_model%20like%20'%750GB%'%20or%20pd.products_name%20like%20'%750GB%'%20or%20p.products_code%20like%20'%750GB%') | %3Fquery%3Dselect%2520distinct%28p.products_id%29%2C%2520p.manufacturers_id%2Cp.web_only%2Cp.products_gaming%2Cp.free_shipping%2Cp.award_winner%2Cp.clearance%2Cp.products_date_added%2Cp.products_price%2C%2520p.products_tax_class_id%2520from%2520products_description%2520pd%2C%2520products%2520p%2520left%2520join%2520manufacturers%2520m%2520on%2520p.manufacturers_id%2520%3D%2520m.manufacturers_id%2C%2520products_to_categories%2520p2c%2520where%2520p.products_status%2520%3D%2520%271%27%2520and%2520p.products_id%2520%3D%2520p2c.products_id%2520and%2520pd.products_id%2520%3D%2520p2c.products_id%2520and%2520pd.language_id%2520%3D%2520%271%27%2520and%2520%28p.products_model%2520like%2520%27%25750GB%25%27%2520or%2520pd.products_name%2520like%2520%27%25750GB%25%27%2520or%2520p.products_code%2520like%2520%27%25750GB%25%27%29 |
| name:natasha | name%3Anatasha |
| name:natasha | name%3Anatasha |
| natasha | natasha |
| / | %2F |