TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Open Source Guest Book in php

2 点作者 barakstout将近 12 年前

1 comment

rachelbythebay将近 12 年前
<p><pre><code> &#x2F;&#x2F;let&#x27;s check if the guest is already in our system $check = &quot;SELECT * FROM guests WHERE `first_name` = &#x27;$_POST[first_name]&#x27; AND `last_name` = &#x27;$_POST[last_name]&#x27; AND `email` = &#x27;$_POST[email]&#x27; &quot; ; </code></pre> I&#x27;m not much of a PHP person, but doesn&#x27;t this imply you&#x27;re taking user-supplied POST data and are putting it directly into your SQL? If so, that won&#x27;t end well.<p>Regarding the actual concept, I saw a place which used an iPad as the signin system for visitor badges, complete with a way to sign your name for NDA purposes if you&#x27;re there for an interview. It seems sound, assuming you can keep people from messing it up with the home button.<p>That said, I think they had an app, not a web page.
评论 #6044683 未加载