Jump to content

deep958

Members
  • Posts

    22
  • Joined

  • Last visited

deep958's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. i changed mysqli to mysql but now i need to change a lot more things . its very time consuming and hectic . is there any other way to use mysqli by changing server ??
  2. it means i have to change just mysqli to mysql at every palce . is there any other thing that i have to change ??
  3. yesterday it was working but now it shows error Call to undefined function mysqli_connect()
  4. hurry! now my code runs . previous code work now . i dont know why it was not working yesterday , but today its working . Thank you krydos for helping me . you always help me but it goes into spam folder , do you know how to stop it from going into spam folder
  5. thanks krydos now its working
  6. In $headers, you r using heliohost mail account, but I want my Gmail account in that place also. Thanks krydos, you r trying to solve my problem. $to = "divyansh.agg15@gmail.com";$subject = "[Together We] Activate your account";$message = "Hello world!";$headers = "From: deep958@togetherwe.heliohost.org\r\n"; $sentmail= mail($to,$subject,$message,$headers); i used this code but still not working
  7. i removed all the spaces from $headers part but, still msg is not send
  8. i want to use gmail to send mail and also for receiving mails , but my code doesnt work . this is my code if($status){$to="$email";$subject="[Together We] Activate your account";$message="Hello $username ! Please, confirm your registration by clicking link .Link is valid only for 1 day. Click to activate: http://localhost/New...l&vcode=$random"; $headers="From : togetherweindia@gmail.com"; $sentmail=mail($to,$subject,$message,$headers);}
  9. if($status){ $to="$email"; $subject="[Together We] Activate your account"; $message="Hello $username ! Please, confirm your registration by clicking link .Link is valid only for 1 day. Click to activate: http://localhost/New%20folder/confirmed.php?email=$email&vcode=$random"; $headers="From : togetherweindia@gmail.com"; $sentmail=mail($to,$subject,$message,$headers); }
  10. I changed $from to $headers, but still it's not working
  11. i used this site for my mail function . by checking status , its showing mail is send but i didnt receive any mail . am i need to change some heliohost settings?? i got this error while sending mail ECDHE-RSA-AES128-GCM-SHA256:128 CV=yes: SMTP error from remote mail server after end of data: 550-5.7.1 [64.62.211.131 11] Our system has detected that this message is\n550-5.7.1 not RFC 5322 compliant:\n550-5.7.1 'From' header is missing.\
  12. i want to send email as user signup on my website . i use php code mail() function for this . but i dont know the settings of heliohost for that . plz help me this is my php code : if($status){$to="$email";$subject="[Together We] Activate your account";$message="Hello $username ! Please, confirm your registration by clicking link .Link is valid only for 1 day. Click to activate: http://localhost/New%20folder/confirmed.php?email=$email&vcode=$random"; $from="From : Together We <no-reply@togetherwe.heliohost.org>"; $sentmail=mail($to,$subject,$message,$from);} I want to use my gmail account for sending and receiving emails because i dont know email properties of heliohost
  13. my sql querry is this <?php $con=mysqli_connect("localhost","root",""); mysqli_select_db($con,"together"); $email=$_POST["email"]; $id=$_POST["id"]; $result=""; // if email doesnt exit in watchv table $aresult=mysqli_query($con,"select * from watchv where email = '$email'"); $anum=mysqli_num_rows($aresult); if($anum==0){mysqli_query($con,"insert into watchv(email) values ('$email')");$aresult=mysqli_query($con,"select * from watchv where email = '$email'"); $anum=mysqli_num_rows($aresult);} $b="select * from watchv where email= '$email'"; $bresult=mysqli_query($con,$ ; $brow=mysqli_fetch_array($bresult); $z="id".$id; $bid=$brow[$z]; if($bid==0) { $a="update watchv set $z='$id' where email='$email'"; $status=mysqli_query($con,$a); $a="update video set views=views+1 where id='$id'"; $status=mysqli_query($con,$a); $b="select * from money where email= '$email'"; $bresult=mysqli_query($con,$ ; $bnum=mysqli_num_rows($bresult);if($bnum==0){mysqli_query($con,"insert into money values('$email','5')"); } else{ mysqli_query($con,"update money set wmoney=wmoney+5 where email='$email'"); } } elseif($bid==$id) { $a="update video set views=views+1 where id='$id'"; $status=mysqli_query($con,$a); } ?> blue color query are for update what i have to change in it to prevent update loss
  14. i am from johnny server and my cron job is also not working . plz help me
  15. there is no error message and no work is performed by it . but when i execute it by my own then it works fine
×
×
  • Create New...