I need to check the return value of a website output. In case of valid login details it returns a XML file and in case of invalid login details it just returns a string sayi
Check if the first 5 characters equal , that should be a pretty good clue.
, that should be a pretty good clue.
if(substr($output, 0, 5) == "