AiPromptss

代码安全性检查

这段PHP代码,你能否帮我检查一下代码的安全性和可维护性,是否存在SQL注入和跨站脚本攻击等问题,代码的命名规范和代码风格等,并提供相应的建议来提高代码的安全性和可维护性。

Added May 19, 20260 runsPrompt content hidden — try it to see the output

Run it to see the result

Fill in the fields on the right and click Try it — output appears here in seconds.

Run the prompt to fill this area with your result

This prompt has no variables — just hit Try it to run it as-is.

Runs on our AI · ~5–15 seconds