Hi,

I have a php script on my site that make the browsers return a search result in stead of data from the php file. The strange thing is that the scripts returns a corrupt adress.

http://boardtests.com/fin-selector/slalom-speed-race/?width=65&size=9.0&submit=Send&s=Search

http://boardtests.com/fin-selector/slalom-speed-race/?width=65&size=9.0&submit=Send

If I remove "&s=Search" the returned adress works!

The thing is that i have the same setup/script on another page and it works greate on that page: http://boardtests.com/fin-selector/freeride-freerace/

Any clue? Thanks in advance : )

You are not showing your php code so it is difficult to track the error. The most probable cause is that you are using a variable named $s in your code and the URL also contains s=Search, so you have a conflict between what is posted in the URL and your internal variable.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.