BBGameZone.net PBBG Network | BuildingBrowserGames | Top-PBBG
March 10, 2010, 07:23:11 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the Browser-Base Game Zone forums!
 
  Home   Forum   Help Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: I always see the pound symbol in php urls...  (Read 168 times)
133794m3r
Level 17
*

Reputation: 1
Offline Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« 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 Offline

Posts: 1,016


View Profile
« 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

133794m3r
Level 17
*

Reputation: 1
Offline Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« Reply #2 on: February 06, 2010, 06:34:08 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 Offline

Posts: 1,016


View Profile
« 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

133794m3r
Level 17
*

Reputation: 1
Offline Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« Reply #4 on: February 06, 2010, 07:26:56 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 Offline

Posts: 1,016


View Profile
« 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

133794m3r
Level 17
*

Reputation: 1
Offline Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« Reply #6 on: February 06, 2010, 07:55:27 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 Offline

Posts: 74


XHTML, CSS, JS, PHP and MySQL are my pantheon.


View Profile
« 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 Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« Reply #8 on: February 06, 2010, 09:59:02 PM »

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 Offline

Posts: 428


View Profile
« Reply #9 on: February 07, 2010, 04:13:53 AM »

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



I can send you pics of my cocks if you want reference.
133794m3r
Level 17
*

Reputation: 1
Offline Offline

Posts: 158

Designer, Coder, Tester, Cynic, Critic.


View Profile
« Reply #10 on: February 07, 2010, 05:06:23 AM »

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  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
SimplePortal 2.2 © 2008-2009
Valid XHTML 1.0! Valid CSS!