What's new

Closed Sino po magaling sa php jan?

Status
Not open for further replies.

Mickz_XVIII

Honorary Poster
Joined
May 16, 2017
Posts
387
Reaction
86
Points
239
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.
Back
Top