fixed php call to use python syntax, added ip GET data