Mystic Software Forums

Miscellaneous => General Off-Topic => Topic started by: AlienDude on June 09, 2005, 03:51:07 PM

Title: (no subject)
Post by: AlienDude on June 09, 2005, 03:51:07 PM
If any of you can help, it would be great. I need to know how to set up a web form so that the contents of the form are sent to me by email.
Title: (no subject)
Post by: Aminaga on June 09, 2005, 05:45:15 PM
Easy. Go to server.com, select DBApp, fill out the form to make it, and it should come with a good form. Tell me if you're expieriencing any problems after that.
Title: (no subject)
Post by: AlienDude on June 09, 2005, 06:02:20 PM
I meant does anybody know how to code forms, i would rather have help than a site builder, i forget how to do them later on if i use a site builder.
Title: (no subject)
Post by: Aminaga on June 09, 2005, 06:03:19 PM
*sigh* Good luck...
Title: (no subject)
Post by: AlienDude on June 10, 2005, 04:03:59 PM
OK I am starting my first contest, whoever helps me the most to get this form up and running, will get a free banner of any size and type!!!
Title: (no subject)
Post by: Colin on June 21, 2005, 08:56:14 AM
You can make the actual form with markup like this:

Code: [Select]
<form method="post" action="some_file.php">
<div>
<!-- fields ... -->
<input type="text" name="something" />
</div>
</form>

(See more on the <a href='http://www.w3schools.com/tags/tag_input.asp' target='_blank'><input> tag</a>.)

Then you might code some_file.php:

Code: [Select]
<!-- ... -->
<?php
$str = '';
foreach ($_POST as $i => $j)
{
$str .= $i . ': ' . $j . "\n";
}
mail('your@email.com', 'Allo! (subject)', $str);
?>
<!-- ... -->

Note that this is untested.
Title: (no subject)
Post by: AlienDude on June 21, 2005, 12:48:53 PM
actually it has been up and running for a couple days now, i thought i posted on here, the sender even gets an email telling them what they requested, i will add email validation later, to ensure that it goes to an actual email address.

also i will be rewriting the request form in XForms.  Soon the site will be fully php/sql
Title: (no subject)
Post by: Colin on June 21, 2005, 05:55:53 PM
Only real browsers such as Firefox support xforms right now. IE, unfortunately, has a market share greater than 90%, so it's not a good idea.
Title: (no subject)
Post by: AlienDude on June 21, 2005, 06:16:33 PM
stupid Microsoft... i even tried it on FF but all i got were the labels. maybe i didn't get the header info right.
Title: (no subject)
Post by: Colin on June 21, 2005, 09:50:23 PM
Firefox has full support for xforms. If it didn't work there, you did something wrong.
Title: (no subject)
Post by: AlienDude on June 22, 2005, 06:27:02 PM
well that is smth, i may just get SMTH done today LOL
Title: (no subject)
Post by: GameCharmer on July 07, 2005, 09:34:04 PM
My entire site is straight PHP and SQL.  I can modify just about any file efficiently.  I have even released 2 blocks completely designed by myself for php-nuke.  I will soon (hopefully) be releasing some more utilities and mods for it.  If you need something, ask.  my new e-mail is

GameCharmer  at  GCWorld  dot  net

Thanks!
Title: (no subject)
Post by: AlienDude on July 23, 2005, 03:52:10 AM
I am in fact in the process of integrating the gmae stuff into TS so that i have one site for everything, BBS will be no more, unless i get a buttload of money and i actually need to.

Also i am redoing the gfx of the site, making it a bit brighter it shows up as damn dark on this lappie.
Title: (no subject)
Post by: GameCharmer on August 10, 2005, 02:08:09 PM
Sofar, I have implemented a store, inventory, statistics, and cash into my site for use in a game.

Looks pretty good.

Also, completely redesigned the theme.

Thanks!