Jump to content
MakeWebGames

Recommended Posts

Posted

this will allow a person to contact a game through email.

create a file called contact.php and in it add

<?php

/*

-- Mobz Productions --

-- A Product of Mobz Productions --

-- For contacting game --

-- Created by M0B2 --

-- Contact.php --

*/

print "Staff Contact form:

if($_POST['mes'])

{

$to=Your Email Here;

$subj = "Your Game Name Contact Form";

$mess =$_POST['mes'];

$headers ="From: $_POST['email']

";

mail($to,$subj,$mess,$headers);

}

print "Your message has been sent to "Your Game Name Contact Email" You will get a reply as soon as posible.

<a href='http://www.yourgameurl.com/index.php>Back to game...</a>";

}

else

{

print "You are contacting Your Game Name game.

<form action='contact.php' method='post'>

Your Email:

<input name="email" type="text" value="Your Email Here">

<textarea cols=30 rows=15 name='mes'>

</textarea>

<input type='submit' value='Send!'></form>";

}

$h->endpage();

?>

any prob please post

Posted

Re: Contact Staff Through Email

 

You forgot the code tags

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Also a few Errors but fixed,

sorry to say m8 the fixed bit is false:(

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/savage/public_html/contact.php on line 17

Posted

Re: Contact Staff Through Email

Nope Its Still Bugged But Just Atip

Take A Look At The Differences Of Each Of These

Heres The One You Posted:

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Here It Is Fixed And 2 } Removed From Were Not Needed

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

 

Should Be 100% Working Order As I Tested It To Make Sure It Was Working And Results It Worked Fine

Problem Was

else

{

Was Put Were Not Needed Just Like The 2 Extra } Which

1 Was Over Top Of

else

{

Like So

}

else

{

The Other Was Over Top Of

$h->endpage();

?>

Like So

}

$h->endpage();

?>

And That Is That

As Illusions Asked External To Do On What He Claimed To Fix Which Wasnt Really Fixed I Have Gone Ahead And Told You Exactly Why It Wasnt Working Correctly

  • 10 months later...
Posted

CRap LAYOUT

the prervious reply was yes fixed but horrible because you can only send a message no name or email. use this to enable users to send you there email and name plus there message.

 

You're unable to view this code.

Viewing code within this forum requires registration, you can register here for free.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...