The document presents SQL Attack Scanner (SQLAS), a tool designed for detecting and preventing SQL injection attacks in PHP web applications. Unlike traditional methods that rely on runtime monitoring and manual efforts, SQLAS scans applications offline, streamlining the validation of incoming data based on predetermined XML rules. The effectiveness and performance of SQLAS were evaluated through its application on various PHP web systems, highlighting its capability to enhance web application security against injection vulnerabilities.