Jump to content

Is there an standard help page?


co.ador

Recommended Posts

if you mean like is there a standard way to create php page where someone can easily contact you for help then...

 

no there is no "standard" help page but you can make a contact form like this:

 

<?php
if(isset($_POST['send'])) {
    $user_email = $_POST['email'];
    $subject = $_POST['subject'];
    $message = $_POST['message'];
    $webmaster_email = "[email protected]";

    $to      = '' .$user_email .'';
    $subject = '' . $subject . '';
    $message = '' . $message .'';
    $headers = 'From: ' . $webmaster_email . '' . "\r\n" .
    'Reply-To: ' . $webmaster_email . '' . "\r\n" .
    'X-Mailer: PHP/' . phpversion();

    mail($to, $subject, $message, $headers);

} else {

    echo "Subject: <input type='text' name='subject'><br>";
    echo "Message:<br> <textarea name='message'></textarea><br>"
    echo "Your Email: <input type='text' name='email'><br>";
    echo "<input type='submit' name='send' value='Send'>";

}
?>

 

just change "[email protected]" to your email.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.