Any way for PHP/CodeIgniter to read the URL, when it's like site.com/#/xyz …?

lexou7

New Member
Basically I have a mostly Ajax-based site. When you load up a result, it appears via Ajax, and the URL address bar changes from \[code\]mysite.com\[/code\] to \[code\]mysite.com/#xyz/A_Random_Title\[/code\].\[code\]A_Random_Title\[/code\] is an SEO-friendly formatted title of the thing loaded up, but the important part is \[code\]#xyz\[/code\]. \[code\]xyz\[/code\] is the ID of the loaded result and is used to query the database with.Is there any way CodeIgniter can read the current URL like that? I don't mean read it once the page has loaded, but read a request to it... hope that makes sense!Thanks!Jack
 
Back
Top