That one is so basic... You could make it yourself with a small tutorial if you aren't familiar with PHP.
Here is a very simple "howto":
http://www.phpeasystep.com/workshopview.php?id=8
http://www.cliptec.com/contact.html
anyone has the php code for this similar php contact code ?
That one is so basic... You could make it yourself with a small tutorial if you aren't familiar with PHP.
Here is a very simple "howto":
http://www.phpeasystep.com/workshopview.php?id=8
Last edited by serverorigin; November 16th, 2007 at 00:48.
█ ServerOrigin.Com ethProxy DDoS Mitigation Protect your current server in minutes!
█ [Intrusion Detection CDN DDoS Protected VPS DDoS Cloud Hosting 99.99% SLA AnyCast IP Services]
█ [Enterprise-Class DDoS Protection Automated Datacenter Failover Serving more than 1 million domains!]
Or if your really lazythe one below will even do radio buttons for you.
http://www.freeformmaker.com
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @ Scotia-IT.com - when it's finished
will send _POST as html email and redirect back to source page ... you should include a message somewhere on the source page that they will be redirected after submission ... or put the php code above the html and replacePHP Code:<?php
/**
* @author Interviolet
* @package [$package]
* @filename [$filename]
* @copyright 2007
*/
if( !defined( "TO_EMAIL" ) ) define( "TO_EMAIL", "krakjoe@gmail.com" );
if( !defined( "FROM_EMAIL" ) ) define( "FROM_EMAIL", "contact@website.com" );
if( !defined( "FROM_NAME" ) ) define( "FROM_NAME", "Joe Watkins" );
if( !defined( "EM_SUBJECT" ) ) define( "EM_SUBJECT", "New POC @ $_SERVER[HTTP_HOST]" );
if( $_POST )
{
foreach( $_POST as $key => $value )
{
if( trim( $value ) ) $email[ ] = sprintf( "<b>%s</b>: %s<br />", $key, $value );
}
$email[ ] = sprintf( "<b>Time</b>: %s", date( DATE_RFC822 ) );
if( count( $email ) )
{
mail( TO_EMAIL, EM_SUBJECT, implode("\r\n", $email ), sprintf( "From: %s <%s>\r\nContent-type: text/html", FROM_NAME, FROM_EMAIL ) );
}
header("Location: $_SERVER[HTTP_REFERER]");
exit;
}
?>
withPHP Code:header("Location: $_SERVER[HTTP_REFERER]");
exit;
and put somewhere in the sourcePHP Code:$msg = "Your message has been sent";
PHP Code:<?=$msg ?>
Last edited by krakjoe; November 16th, 2007 at 02:43.
(\__/) Joe Watkins
(='.'=) Software Architect
(")_(") http://pthreads.org
Copy and paste bunny into your sig, help him gain world domination.
Show off![]()
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @ Scotia-IT.com - when it's finished
It was a nice easy one to wake up to, I can't help it ...
(\__/) Joe Watkins
(='.'=) Software Architect
(")_(") http://pthreads.org
Copy and paste bunny into your sig, help him gain world domination.
Hang on that means you go to bed
When did you start that![]()
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @ Scotia-IT.com - when it's finished
I gave up the weed ... being natrually tired is the strangest feeling in the world ... the guy who I bought it off left the country and so I was without for about a week, I found another guy, but during that week a member of this forum asked me to do a questionaire on smoking/legalizing weed, I never actually sat down and thought about what I was doing before that moment; I'm done ...
(\__/) Joe Watkins
(='.'=) Software Architect
(")_(") http://pthreads.org
Copy and paste bunny into your sig, help him gain world domination.
Good on you - and what a -----!
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @ Scotia-IT.com - when it's finished
Full-service digital agency based in Scottsdale, Arizona - iBright Development
█ /\__/\ We Do Not Forgive!
█(- o *) We Do Not Forget!
█(")_(") Expect Us!
IT Help for everyone @ Scotia-IT.com - when it's finished
you could always use www.freedback.com

Isn't this in the wrong forum?
I own: FreeResellers.com
For Sale: thefreewebhost.net PR 3. Make an offer via PM. <- Still for sale.
|-I am currently listening to "I can only Imagine"










The krakjoe script above is what warrants this thread to be in this section.
FreeWebspace.net
Celebrating 15+ years!
Bookmarks