Jump to content
php.lv forumi

armins77

Reģistrētie lietotāji
  • Posts

    6
  • Joined

  • Last visited

Posts posted by armins77

  1. Kād vēlos pārveidot funkciju, kas sūta E-pastu.

    // check to see if verificaton code was correct
    if(md5($verif_box).'a4xn' == $_COOKIE['tntcon']){
    // if verification code was correct send the message and show this page
    mail("[email protected]", 'Kontaktu forma:'.$subject, $_SERVER['REMOTE_ADDR']."Ziņa: ".$message, "$from");
    // delete the cookie so it cannot sent again by refreshing this page
    setcookie('tntcon','');
    

     

    Kād gribu uzlikt lai pirms IP un E-pasta ir kāds teksts rāda kļūdu.

×
×
  • Create New...