🔒 Closed Help mga lodicakes php gadz!

Status
Not open for further replies.

O s l o

Forum Guru
possible kaya yong maglalogin sa isang system which is pagkalogin mo magnonotify sya sa gmail kung saan naglogin ganon kung chrome or android device tas kasama realtime date. if possible paano kaya pwede kong gawin don.
 
Pag login kunin mo yung user agent tas yun send mo
ikaw nanaman paps hahaha may nakita ako which is how to use this code
PHP:
if($login_success){

            $email_to="admin@domain.com";
            $email_subject="A user logged in to the system";
            $email_from='system_info@domain.com';

            $email_message = "Following user has logged in to the system at ".$time."\n\n";

            $email_message .= "Name  : ".$name."\n\n";
            $email_message .= "Email  : ".$email."\n\n";
            $email_message .= "User ID: ".$user_id."\n\n";


            $headers = 'From: '.$email_from."\r\n".
            'Reply-To: '.$email_from."\r\n" .
            'X-Mailer: PHP/' . phpversion();
            @mail($email_to, $email_subject, $email_message, $headers);
        }
 
ikaw nanaman paps hahaha may nakita ako which is how to use this code
PHP:
if($login_success){

            $email_to="admin@domain.com";
            $email_subject="A user logged in to the system";
            $email_from='system_info@domain.com';

            $email_message = "Following user has logged in to the system at ".$time."\n\n";

            $email_message .= "Name  : ".$name."\n\n";
            $email_message .= "Email  : ".$email."\n\n";
            $email_message .= "User ID: ".$user_id."\n\n";


            $headers = 'From: '.$email_from."\r\n".
            'Reply-To: '.$email_from."\r\n" .
            'X-Mailer: PHP/' . phpversion();
            @mail($email_to, $email_subject, $email_message, $headers);
        }
pwede kaya ganto
 
PhJoemar baka alam mo lods 😂

yung composer katumbas ata niyan yung npm, makakatulong din yan makapag install ng libraries/dependencies na kailangan mo

hanap ka lang ng library na sa tingin mo magagamit mo gaya nito:

You do not have permission to view the full content of this post. Log in or register now.
You do not have permission to view the full content of this post. Log in or register now.

then babasahin mo nalang or aralin mo nalang paano sila magagamit
 
Status
Not open for further replies.

About this Thread

  • 12
    Replies
  • 440
    Views
  • 4
    Participants
Last reply from:
Darkx

Online now

Members online
1,042
Guests online
1,009
Total visitors
2,051

Forum statistics

Threads
2,277,035
Posts
28,973,836
Members
1,229,694
Latest member
juannn_
Back
Top