make contact messages strip slashes

This commit is contained in:
Dan Olson 2000-06-17 19:00:06 +00:00
parent 17bfc53e39
commit 9a482786f1

View file

@ -1,45 +1,45 @@
<? <?
if (isset($clicked)) { if (isset($clicked)) {
StripSlashes($message); StripSlashes($message);
mail("quake-user@lists.sourceforge.net", "Comments (Sent from www.quakeforge.net)", $message, "From: $sender\r\n"); mail("quake-user@lists.sourceforge.net", "Comments (Sent from www.quakeforge.net)", StripSlashes($message), "From: $sender\r\n");
header("Location: http://www.quakeforge.net/thanks.php"); header("Location: http://www.quakeforge.net/thanks.php");
exit; exit;
} }
?> ?>
<? // Preamble <? // Preamble
$pageName = "Contact Us"; $pageName = "Contact Us";
$focused = "none"; // Dock icon name to gets a border $focused = "none"; // Dock icon name to gets a border
require("parts/preamble.php"); // Load most of document require("parts/preamble.php"); // Load most of document
?> ?>
<!--SEARCHME--> <!--SEARCHME-->
<H2>Electronic Mail</H2> <H2>Electronic Mail</H2>
<P>Please direct support questions to the <P>Please direct support questions to the
<A href="mailto:quake-user@lists.sourceforge.net">QuakeForge Users</A> mailing list. <A href="mailto:quake-user@lists.sourceforge.net">QuakeForge Users</A> mailing list.
<P>If you have ideas about new features for QuakeForge or wish to help in <P>If you have ideas about new features for QuakeForge or wish to help in
development, you can contact the QuakeForge developers via the development, you can contact the QuakeForge developers via the
<A href="mailto:quake-devel@lists.sourceforge.net">QuakeForge Development</A> mailing list. <A href="mailto:quake-devel@lists.sourceforge.net">QuakeForge Development</A> mailing list.
<H2>Web Forum</H2> <H2>Web Forum</H2>
There is a <A href="/board/">QuakeForge Web Forum</A>, provided courtesy of There is a <A href="/board/">QuakeForge Web Forum</A>, provided courtesy of
<A href="http://megatf.netfrag.com/">Zap Mega Team Fortress</A>. <A href="http://megatf.netfrag.com/">Zap Mega Team Fortress</A>.
<H2>Internet Relay Chat</H2> <H2>Internet Relay Chat</H2>
The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open The QuakeForge developers maintain an IRC channel, #QuakeForge, on the Open
Projects network, located at irc.openprojects.net. Projects network, located at irc.openprojects.net.
<H2>Contact form</H2> <H2>Contact form</H2>
Send a message to the QuakeForge team. Be sure to include a valid email address if you expect a reply.<br> Send a message to the QuakeForge team. Be sure to include a valid email address if you expect a reply.<br>
<FORM> <FORM>
<P>Your Email:<P><INPUT TYPE="text" name="sender"> <P>Your Email:<P><INPUT TYPE="text" name="sender">
<P>Message: <P>Message:
<P> <P>
<TEXTAREA name="message" cols="50" rows="10" wrap="PHYSICAL"></TEXTAREA> <TEXTAREA name="message" cols="50" rows="10" wrap="PHYSICAL"></TEXTAREA>
<P> <INPUT TYPE="submit" NAME="clicked" VALUE="Submit"> <P> <INPUT TYPE="submit" NAME="clicked" VALUE="Submit">
</form> </form>
<!--NOSEARCH--> <!--NOSEARCH-->
<? <?
require("parts/postamble.php"); // Finish this sucker up require("parts/postamble.php"); // Finish this sucker up
?> ?>