🔒 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
  • 702
    Views
  • 8
    Participants
Last reply from:
DARKWING10

Trending Topics

Online now

Members online
1,200
Guests online
4,693
Total visitors
5,893

Forum statistics

Threads
2,327,441
Posts
29,235,276
Members
1,162,974
Latest member
neomyked
Back
Top