evt_query check for PHP too, also url fix