Here's the basic "Contact The Staff" Script I made in like 5 minutes.
FlyForRandomness & TeaIXFlyff have the full script which was edited by Ashton in the UserCP that was developed by me and ashton. Any one who says they "Leeched" it, GTFO.Code:<?php echo "<center>"; echo "<form method='post'>"; echo "Your E-mail: <input type='text' name='email' maxlength='40'><br>"; echo "Message Title: <input type='text' name='title' maxlength='40'><br>"; echo "Message: <textarea cols='30' rows='8' name='message' maxlength='200' wrap=virtual></textarea><br>"; echo "<input type='submit' value='Contact' name='submit'><br>"; echo "<font color='red'>Script by Apixen of Ragezone/************</color>"; if(isset($_POST['submit'])) { if(!$_POST['email'] || !$_POST['title'] || !$_POST['message']) { die("You must fill in all the fields."); } else { $email = $_POST['email']; $title = $_POST['title']; $message = $_POST['message']; } { $v_ip = $_SERVER['REMOTE_ADDR']; $v_date = date("l d F H:i:s"); $fp = fopen("Log/Contactlog.txt", "a"); fputs($fp, "Someone has contacted the staff. Please report to this message A.S.A.P! \n\n IP: $v_ip \n\n DATE: $v_date \n\n Email - $email \n\n Message Title - $title \n\n Message: $message\n\n\n\n"); fclose($fp); echo "<br><font color='green'>That's sad, you leeched my script from me ;[ -Apixen</color>"; } } ?>
Take those credits off, and I'll come after you.
Intructions:
1. Make this into a php file.
2. Make a folder called Log
3. Make a file called contactlog.txt in Log.
4. Run the script, and leave a message, your message will be logged, as well as your ip.
5. Can be edited to match User CP Purposes.
TeaIX & Randomness Material that I made for them <3





