Topic: Get Anchor in PHP-function

Is it possibly to get anchor (www.site.com/#news/evenings) in PHP-function?
This is site navigation for users with bookmarks-function.
But it is necessary to make so that the search robot too could use this navigation (now for the robot are used usual url, but there is a mess).

Sorry for my bad English

Re: Get Anchor in PHP-function

Seeing as the anchor is not part of the servervariable, and a client side variable, I can't think of a way to do this is PHP. With Javascript the value will be accessed via document.location.hash.. maybe you can use ajax to call the javascript from PHP.. that could work ..

Re: Get Anchor in PHP-function

maybe you can use ajax to call the javascript from PHP

=>

now for the robot are used usual url, but there is a mess

robots cant call javascripts sad

Sorry for my bad English

Re: Get Anchor in PHP-function

You are right.. robots or spiders or web crawlers ignore javascript.

Why are you using anchors to navigate your page, just create another page to hold your evening news, then your problem is solved ..

Re: Get Anchor in PHP-function

Users must know current page URL and possibly to take links to frends and usre forward-next browser button (which is realized in backbutton plugin).

Or you see more useful way to create simply navigation for site using and robo-indexes?

Last edited by 6epcepk (2007-09-04 2:19:09 PM)

Sorry for my bad English

Re: Get Anchor in PHP-function

Create more pages, so that the diffrent sections are in diffrent pages.. this is normally how all internet sites work. Then each section has its own page, and everything works like it should ..

Make a example on the web, and post the URL so I can take a look.. cause I am not 100% sure what you mean..

Re: Get Anchor in PHP-function

Adesso
----

EDIT: removed by admin. illegal contents

Sorry for my bad English

Re: Get Anchor in PHP-function

Dude.. this site you linked to is illigal in my country, and I can not help you. It's called child pornography.. sorry, but I can help you anymore..

Re: Get Anchor in PHP-function

I'm only developer of this site, i think content-managesrs will delete this fotos. Sorry.

Sorry for my bad English

Re: Get Anchor in PHP-function

6epcepk, please don't post such links here. Even if you'r not responsible for the contents. You should know the contents of that site anyway and know that these contents are illegal in the most countries.