Special chars in url

Started on the old forum in April 2012 · view the original in the archive · old links redirect here

6 replies · 447 views · started 14 years ago · 1 min read

4 participants
s3nzo Developer · 156 posts #1

Anyone knows what's the function of "#!" in a url? Like both facebook and twitter use these in their urls and if i google

inurl:#!

google returns nothing, anyone knows what purpose these signs serve?

something else Fellow · 2,296 posts #2

s3nzo wrote: Anyone knows what's the function of "#!" in a url? Like both facebook and twitter use these in their urls and if i google

inurl:#!

google returns nothing, anyone knows what purpose these signs serve?

annoying with bbcodes xD they mess the url up lol

s3nzo Developer · 156 posts #4

Lol messing it up? I don't think so amy i don't mean those hashtags i mean in the url as

https://facebook.com/#!/home.php

and

http://twitter.com/#!/s3nzoM
RafaelWBR Newbie · 7 posts #5

I think u are searching for friendly urls

extremely bored...

something else Fellow · 2,296 posts #6

s3nzo wrote: Lol messing it up? I don't think so amy i don't mean those hashtags i mean in the url as

https://facebook.com/#!/home.php

and

http://twitter.com/#!/s3nzoM

if you use a safety page before the url to stop refferer eg: http://twitter.com/#!/s3nzoM then on pageout.php you have got echo '<a href="'.$_GET['url'].'">'.$_GET['url'].'</a> the link will only show as http:/ /twitter.com/ unless you use url encode. however if you have your bb codes set up in array you cant use url encode xD

s3nzo Developer · 156 posts #7

something else wrote: if you use a safety page before the url to stop refferer eg: http://twitter.com/#!/s3nzoM then on pageout.php you have got echo '<a href="'.$_GET['url'].'">'.$_GET['url'].'</a> the link will only show as http:/ /twitter.com/ unless you use url encode. however if you have your bb codes set up in array you cant use url encode xD

thank you, that makes a lot of sense

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close