🔒 Closed Sino po magaling sa php jan?

Status
Not open for further replies.

Mickz_XVIII

Honorary Poster
Mga paps pahelp naman po!!!
Sino po marunong nung "form" to "email"?

Yung mga ilalagay mo sa form ng website mo ay masesend sa email address mo.

Sa mga may source code po penge!!!
Sa mga magtuturo advanced thankyou!!!
More power phc!
 
you can use `mail()` function ng php
refs: You do not have permission to view the full content of this post. Log in or register now.

but keep in mind na sa spam mailbox papasok ung email since di eto secure (depende sa setup and code implementation)

for the form, just basic coding will do. e.g:
PHP:
<?php
if ($checkIfFormPostHere) {
    /** get data from form post **/
    $to = 'email here';
    $subject = 'subject here';
    $message = 'message here';

    mail($to, $subject, $message);
    echo ('mail sent');
}
// display html form here


or kung OOP (or MVC) ung system na ginagawa mo, pwde mo icheck ung PHPMailer or SwiftMailer
 
Status
Not open for further replies.

About this Thread

  • 9
    Replies
  • 709
    Views
  • 8
    Participants
Last reply from:
DARKWING10

Online now

Members online
1,096
Guests online
5,939
Total visitors
7,035

Forum statistics

Threads
2,348,289
Posts
29,358,055
Members
1,094,413
Latest member
jongskie
Back
Top