Code freezes if dsl line is down

Hi Paul

Why is it not valid ?

The data being passed to the php script is assembled in the 'for' loop, and it is definitely working with this code.