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