Hi all
Have been running a page for some time now and have moved from windows to Ubuntu
the login system was working fine until today…
the php script returns ‘ok’ on a correct login…
but today it decides to return ‘-ok’
Question 1 any idea why a ‘-’ should appear…
to fix
i tried to change the javascript acceptance to
if(data = ‘-ok’) then carry on
that fails
i then tried data.substring(1) then used the normal if staement and that is at present working…
Anyone any ideas ???
Many thanks
Roger