error 404 in HTTP GET request with Arduino Uno and ESP8266 using AT commands
your HTTP request is incomplete. it should be

String cmd = "GET /greencare/login.php?product_id=123456 HTTP/1.1\r\nHost:alirezaabrishami.ir\r\n\r\n"


if the wen server host has more hostnames for the same IP address, the Host header is used on HTTP server to direct the request to the right web application