PBBG Network
|
BuildingBrowserGames
|
Top-PBBG
March 10, 2010, 07:23:11 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Welcome to the Browser-Base Game Zone forums!
Home
Forum
Help
Login
Register
BBGameZone.net
>
Webmasters
>
Coding Discussion
>
Code Help
>
I always see the pound symbol in php urls...
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: I always see the pound symbol in php urls... (Read 168 times)
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
I always see the pound symbol in php urls...
«
on:
February 06, 2010, 05:46:59 AM »
But what in the world is it doing there? I've searched the php documentation site and they don't explain what it's doing there. It seems to be something with just loading the html base code that's changed a bit over the current page.(or atleast that's what it's always seemed to do any page that's using it) So what's the function that causes the url to be something like example.com/#/code.php? or example.com/php?24248a#
Logged
Chris
Game Owner
Level 35
Reputation: 8
Offline
Posts: 1,016
Re: I always see the pound symbol in php urls...
«
Reply #1 on:
February 06, 2010, 06:00:49 AM »
What you wrote is hash symbol, not pound symbol. If you do not see hash, check your browser "character's settings" (I forgot how it was called in English, I mean the thing that make your computer interpret what alphabet is used).
Logged
www.lordsgame.com
|
www.SamuraiMMORPG.com
|
www.Moonstone-RPG.com
|
www.GalacticImperator.com
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
Re: I always see the pound symbol in php urls...
«
Reply #2 on:
February 06, 2010, 06:34:08 AM »
Quote from: Chris on February 06, 2010, 06:00:49 AM
What you wrote is hash symbol, not pound symbol. If you do not see hash, check your browser "character's settings" (I forgot how it was called in English, I mean the thing that make your computer interpret what alphabet is used).
#=hash? since when? It's always been taught to me as a pound symbol. And my browser shows them all as the pound symbol. #=Pound,Number i've never heard of it being called hash. O.o
And it's western...
Edit: quoting wikipedia "In most English-speaking countries outside North America, the symbol is usually called the hash mark, hash sign, or hash symbol, and the corresponding telephone key is the hash key." So yes i am seeing the pound symbol.
http://en.wikipedia.org/wiki/Number_sign
«
Last Edit: February 06, 2010, 06:36:04 AM by 133794m3r
»
Logged
Chris
Game Owner
Level 35
Reputation: 8
Offline
Posts: 1,016
Re: I always see the pound symbol in php urls...
«
Reply #3 on:
February 06, 2010, 06:48:08 AM »
What you wrote is
http://en.wikipedia.org/wiki/Number_sign
if you see
http://en.wikipedia.org/wiki/Pound_sign
then you need to change your browser settings.
Logged
www.lordsgame.com
|
www.SamuraiMMORPG.com
|
www.Moonstone-RPG.com
|
www.GalacticImperator.com
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
Re: I always see the pound symbol in php urls...
«
Reply #4 on:
February 06, 2010, 07:26:56 AM »
Quote from: Chris on February 06, 2010, 06:48:08 AM
What you wrote is
http://en.wikipedia.org/wiki/Number_sign
if you see
http://en.wikipedia.org/wiki/Pound_sign
then you need to change your browser settings.
I'm american, so the so called "hash symbol" you speak of is my pound sign/number sign. And i was talking about the code itself. I was wondering what it's significance was in this whole thing. I have said before it was the pound sign(the american pound sign), i started this thread to see what it's importance was in the grand scheme of things with reference to php.
Logged
Chris
Game Owner
Level 35
Reputation: 8
Offline
Posts: 1,016
Re: I always see the pound symbol in php urls...
«
Reply #5 on:
February 06, 2010, 07:32:13 AM »
"example.com/php?action=killme&areyousure=yes#anchor"
It's not PHP but HTML. Read about anchors.
Logged
www.lordsgame.com
|
www.SamuraiMMORPG.com
|
www.Moonstone-RPG.com
|
www.GalacticImperator.com
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
Re: I always see the pound symbol in php urls...
«
Reply #6 on:
February 06, 2010, 07:55:27 AM »
Quote from: Chris on February 06, 2010, 07:32:13 AM
"example.com/php?action=killme&areyousure=yes#anchor"
It's not PHP but HTML. Read about anchors.
ah... never though to look at them in html pages before now.
Logged
nano
Level 11
Reputation: 4
Offline
Posts: 74
XHTML, CSS, JS, PHP and MySQL are my pantheon.
Re: I always see the pound symbol in php urls...
«
Reply #7 on:
February 06, 2010, 11:50:06 AM »
It's officially called the fragement identifier. It's used to link to a section within a document.
http://en.wikipedia.org/wiki/Fragment_identifier
For example, on that page, if you click on "Examples" in the table of contents, the page will go to Fragment_identifier#Examples.
In JavaScript apps it can be used for navigation within an app (without reloading the page). GMail uses this for example. It can essentially serve as an extension of the query string, but which does not cause the page to reload if a link is clicked with only the fragment being different.
Logged
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
Re: I always see the pound symbol in php urls...
«
Reply #8 on:
February 06, 2010, 09:59:02 PM »
Quote from: nano on February 06, 2010, 11:50:06 AM
It's officially called the fragement identifier. It's used to link to a section within a document.
http://en.wikipedia.org/wiki/Fragment_identifier
For example, on that page, if you click on "Examples" in the table of contents, the page will go to Fragment_identifier#Examples.
In JavaScript apps it can be used for navigation within an app (without reloading the page). GMail uses this for example. It can essentially serve as an extension of the query string, but which does not cause the page to reload if a link is clicked with only the fragment being different.
ah so it's some java magic then... i'll have to start looking into java once i get the basics laid out.
edit:wow just finally got around to looking at jquery and jesus that api looks simple to use... don't know why i didn't start looking at it before...
«
Last Edit: February 06, 2010, 10:19:51 PM by 133794m3r
»
Logged
raestlyn
Level 28
Reputation: 3
Offline
Posts: 428
Re: I always see the pound symbol in php urls...
«
Reply #9 on:
February 07, 2010, 04:13:53 AM »
Quote from: 133794m3r on February 06, 2010, 09:59:02 PM
edit:wow just finally got around to looking at jquery and jesus that api looks simple to use... don't know why i didn't start looking at it before...
You might want to read this:
http://jqueryvsmootools.com/
if you are about to choose a js framework.
Logged
Quote from: trollface666 on January 12, 2009, 02:15:16 AM
I can send you pics of my cocks if you want reference.
133794m3r
Level 17
Reputation: 1
Offline
Posts: 158
Designer, Coder, Tester, Cynic, Critic.
Re: I always see the pound symbol in php urls...
«
Reply #10 on:
February 07, 2010, 05:06:23 AM »
Quote from: raestlyn on February 07, 2010, 04:13:53 AM
Quote from: 133794m3r on February 06, 2010, 09:59:02 PM
edit:wow just finally got around to looking at jquery and jesus that api looks simple to use... don't know why i didn't start looking at it before...
You might want to read this:
http://jqueryvsmootools.com/
if you are about to choose a js framework.
hmm i still think i'm going to go with jquery for the time being atleast. Since i don't know an extreme amount of javascript, and i'm in the get it going kinda stage. And since as the guy has said in his post that if you wanted to make mootools behave like jquery did you could do so easily and effeciently. So if, after i get the pages up and going and then find if i need more javascript control from it, i can easily just get mootools setup and easily translate the mootools framework to work like jquery for the ones that i have already used.
Also, when looking ahead to actual graphics being set into the game, gamequery which is based off of/works with jquery seems to be a very nice extension for jquery. And that's b/c of it already doing a fair share of all the code for me(even though i'm not at that stage in the development at this moment and time).
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
BBGameZone
-----------------------------
=> Announcements
=> Help, Suggestions & Feedback
=> Introductions
-----------------------------
Webmasters
-----------------------------
=> The Starting Line
=> The Articles
=> Coding Discussion
===> Code Help
=> Game Design
=> Game Management
=> Web Design & Graphics
=> Revenue & Promotion
=> Hosting & Domains
=> General Game Discussion
===> Text Games
===> Flash Games
===> Java Games
===> Other Games
-----------------------------
Advertise
-----------------------------
=> Projects
=> Advertisements
=> Marketplace
===> Scripts
===> Employment
===> Webmaster Exchanges
===> Advertisements
-----------------------------
Other Stuff
-----------------------------
=> General Chat & Entertainment
=> Archive
===> PBBG Contest #1
=====> Entries
Loading...