Log in

View Full Version : I need a submiting script/code



Kedanna
10-20-2008, 04:29 PM
I run my own mud and on the website, I want to host player bios. So here is what I'm looking for just something simple...

Name:
Picture1:
Picture2:
Picture3:
Bio:



Then have it sent to my e-mail when they press submit, I would also like it so in the picture area, it can use send pictures off their computer to my e-mail. Bio should have a bigger box then the rest.

Is this doable, and if so, how?

Nile
10-21-2008, 03:59 PM
It is very easy and doable. All you need is the PHP Mail() Function. Here:
http://www.php.net/mail
If you look, you will also find on how to attatch files to a mail document and send it.
If you need any more help just ask.

Kedanna
10-22-2008, 03:22 AM
How do I know if my server supports that?

magicyte
10-22-2008, 03:28 AM
It should. I like Apache and WAMP. I love WAMP. Go to www.wamp-server.com. (I think that's it. If not, google it.)

-magicyte

Nile
10-22-2008, 03:50 AM
Ignore my little magic buddy here. Lol, on your server make a file called "test.php"
And in it(open it up with a text editor) put:


<?php
echo "Tell Nile the output!";
?>

And then run it(remember on your server not locally)
If it displays:

<?php
echo "Tell Nile the output!";
?>
Then you don't support it, if it displays:

Tell Nile the output!
Then you do. Tell me what'chya get.

Magic::
From what I know you can't run it on servers, but I haven't looked that far into WAMP besides running it locally.

Nile
10-23-2008, 02:32 AM
Did you get the output yet?

Kedanna
10-26-2008, 09:39 PM
No, I'm like totally lost :(