(of course, Id have to code my gwt java to remove the "&" from the history string before processing)
On Jul 23, 3:54 pm, darkflame <darkfl...@gmail.com> wrote: > Ive noticed that if I change my links to just "#!" google interprets > them as; > "_escaped_fragment_=" > > Which is how its documented. > However, this means a php $_GET command cant read the first key/value > listed. > > So; > > $_GET['DisplayReview'] returns as empty if the url is, say, "? > _escaped_fragment_=DisplayReview=123" > > If, however, I use "#!&" on my Javascript, then google will instead > call; > > "_escaped_fragment_=&" and $_GET['DisplayReview'] returns the > correct value. > > Is this acceptable? Should this be standard practice for those using > php to generate the static pages? > > The alternative seems to be manually parsing the whole query string > rather then using $_GET[], but that seems rather messy. > > ---- > Note; I'm making some assumptions about how google replaces the "#!", > as the "Fetch as Robot" utility doesn't seem to do it yet. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.