1

I am trying to learn PHP and stumbled across a webpage that does not make sense ... The following web page acts differently if you pass any random query to it:

http://www.trumpcasinos.com/hi-res-gallery-en.html

If you look at the page above it will not display all of the stuff ...

if you change the URL to something like:

http://www.trumpcasinos.com/hi-res-gallery-en.html?anyrandomcharactershere

The page looks different (it seems that there is more information .. without the query it just cuts off) ... this is confusing me ...

anyone know why this happens? and how to fix it?

Brad
  • 159,648
  • 54
  • 349
  • 530
Moose
  • 1,270
  • 2
  • 19
  • 33

1 Answers1

2

It looks like you have caught this page in the middle of updating their code, but the cached content has not cleared yet.

If you go to that URL without any querystring, you will note that the response time is extremely fast. If you go to the URL with a querystring, it is no longer cached and the server takes several seconds to get a response to you. Additional evidence for this is that some of the caching headers are different as well.

Brad
  • 159,648
  • 54
  • 349
  • 530
  • if i show you the source code in private, will you be able to help me? – Moose Jun 02 '13 at 05:56
  • @Moose, Is this your site? If so, just flush your server caches. If this isn't your site, I doubt you are having the same trouble, unless you are looking at `$_GET`. In any case, you should post a snippet of code on Stack Overflow that reproduces your problem. Otherwise, you can hire me or someone else to fix it for you, but I'm booked up at the moment. – Brad Jun 02 '13 at 06:00