Thank you everyone for all your comments and taking the time to test.
Some minor tweaks to the backend have been made and the page has now been "prettified"
New page is now live -
Broadband availability checker.
----------
>> I have broke it !. 1. The distance = 0. I was updating maps last night and moving stuff around at about that time.. so could have been something I was doing.
Do you still have the same problem with the live page? If so would you kindly pm me the postcode and I'll have a look see what I can find (don't need your phone no).
>> it remembers the last phone number and post code but you do not want it remembering the last 'Verification key'
>> How this is implemented I do not knowIt uses "sessions" and has to be able to check the code. If you do a simple refresh of the page it will probably remember the code. If you refresh the data from the results page it will still remember it by design. A complete reload/re-request of the page back to the input should clear it.
The captcha wasnt meant to be anything fancy - more to stop bots accessing it than humans and it was also something I put in as a learning curve to help me understand how they worked.
Theres various ways that you could do this.. and it depends on whether you wish to leave cookies behind etc. Using "sessions" you can destroy the session at any point in the program you wish.
It should have destroyed the session on a complete reload of the page.
>> Its odd if you put the post code in for the exchange, I never got any higher than ADSL Max = 6.5MbI'm afraid thats the BT database and nothing I can do about that. It does that on my line too (6.5 Mb) and I'm less than 200m from the exchange.
Postcodes cover a "general area" and arent as accurate as data obtained on the phone no, so BT have been conservative with their estimates if you dont put the phone no in.
However post codes have to be included because some of the data is only available based on your post code (eg cable providers).
Whilst it may look from the front end that its only performing one check... behind the scenes theres lots and lots of checks being made.. and to different resources.
>> Because all our lane is the same post code it looks like the average position is usedYep thats right
That check is done on postcode only since theres no way of tying a phone no up with a location any closer than that... so it just picks a "mid point".
>> would have known what to do with the code verification box the first time roundI'd already decided last night that I was going to abandon it.
Im going to see how it goes for now without one.
This project was a bit of a "jump in at the deep end" to learning a new language.. even I didnt expect it to take a few thousand lines of code when I started it.. and by implementing the captcha it helped me understand how php dealt with sessions which wasnt anythign I'd done before.
The codes there now if I want to use it.. but Ive taken onboard all your comments and if it is implemented in the future.. its more a simple case of re-designing the input form which should be easy in comparison since thats only design
Thanks again everyone for all your comments