0
我在URL下面我想在mysql中隐藏'target'和'pageid'以避免SQL注入。 https://www.stmtps.com/rigid/index.php? 目标=网页& PAGE_ID = MonthlySpecials修改URL-隐藏URL中的字符串
我在URL下面我想在mysql中隐藏'target'和'pageid'以避免SQL注入。 https://www.stmtps.com/rigid/index.php? 目标=网页& PAGE_ID = MonthlySpecials修改URL-隐藏URL中的字符串
RewriteRule ^profile/([0-9]+)/([A-Za-z0-9-]+)/?$ index.php?p=profile&id=$1
应适用于:
www.domain.com/index.php?p=profile&id=20
到
www.domain.com/profile/20/profile-friendly-name
你的问题不明确。什么是预期的输出?你的意思是隐藏。请为您的问题添加更多详细信息。 –
如果你想隐藏target和pageid,那么使用'POST'方法而不是'GET'。 – RubahMalam
请添加更多详情。谢谢。 – kinshuk4