-
Contact the Staff System(Very Basic, I made this in 5 minutes)
Here's the basic "Contact The Staff" Script I made in like 5 minutes.
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>";
}
}
?>
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.
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
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Nice , useful for people that actually use contact scripts like that instead of forum help section :P
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Nab, Ashton leeched because i own echo. xD JK :O goodwork? making me proud apixen =D
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
Alexsh
It fails.
you fail.
Give some respect man !
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Better to use the mail function to send the information into the adminstrator email.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
simple and :P nice.
@Alexsh
you even fail more what are you doing here ?
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
theunreal
Better to use the mail function to send the information into the adminstrator email.
Now the leacher is a php expert? That cant even get a released script working? Come on now. How can you give advise? He also does state its basic. It does the job what does it matter? Must admit though i would have correctly indented it but thats not important i suppose just organisation.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
MisterKid
simple and :P nice.
@Alexsh
you even fail more what are you doing here ?
Thanked.
@All 'Cept Alexsh and Unreal ./ridi
Thanks for the support.
---------- Post added at 03:10 PM ---------- Previous post was at 03:08 PM ----------
Quote:
Originally Posted by
Lemons
you fail.
Give some respect man !
<3 Thanks. xD
---------- Post added at 03:15 PM ---------- Previous post was at 03:10 PM ----------
Quote:
Originally Posted by
Alexsh
It fails.
You think people won't use the script cause you say IT FAILS? Wow, You must have no life at all.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Some sort of "captcha" wouldnt hurt. Unless you want to scroll trough paragraphs of spam lol.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
x2Fast4YouX
Some sort of "captcha" wouldnt hurt. Unless you want to scroll trough paragraphs of spam lol.
People could learn how to manually put a captcha in ;P otherwise , spoonfeed ftw
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Why would I give a captacha?
That would be a free capatcha to crop out and put in a register page, duh D;
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
This system sucks because it only opens a txt file and write the information you write on the page, but there isn't aother way to contact the player-.-''
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
x.x why is everyone commenting bad.
You use scripts like this as EXAMPLE not leaching like Alexsh.
If you copy something you need to know how it works then you be able to add your own stuff(captcha).
Also read
V
"Script I made in like 5 minutes"
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
I was gonna do a MSSQL Query Table to do that, and make a GM page where only they can see it, and if accessed, Select everything from the table and echo it out.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Stop complaining and use it if you want '-' otherwise code your own epic one.
Just be lucky this person decided to release something like this >.>
Releases - keeps the economy running - just like money <3
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
Alexsh
It fails.
it doesn`t fail its preety good actually.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Alexsh is getting flamed.
Awsome, can i join? Btw, nice script.
( Apixen, you take the hint? )
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Lol, now go fix the security loopholes in editchar.php of your control panel pl0x, I know I fail so hard and leech everything I see, lmao. Coming from MisterKid who does nothing at all.
-
2 Attachment(s)
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Look at Alex's Failness:
When you "don't" Release it, I'ma lol so much
PS: No Skiddie programs plzzz <333
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Dw, I'm going to, I figured i'd take the liberty of fixing the fail security you had in it before re-releasing it.
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
Quote:
Originally Posted by
Alexsh
Dw, I'm going to, I figured i'd take the liberty of fixing the fail security you had in it before re-releasing it.
Funny part is that you think you can do everything, when you can't.
Take down my net plz <3
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
i show things at dev section, and i released 4 maps already i think.All my work is mostly for iflyff my freetime stuff gets released and i help people and i like the forum.
Posted via Mobile Device
-
Re: Contact the Staff System(Very Basic, I made this in 5 minutes)
I made a skiddie release once :O