Skip to main content

Posts

User Registration with Email Verification using PHP and Mysql -PHPMailer

Simple User Registration Email Verification script with Php Mailer- Hello friends ajj me apko btaunga ki ham kis parkar email verification php script  create kar sakte hai ,jo ki bhut jarruri hai kisi be php project ke liye. Steps for php email verification scripts- PHPmailer+mysql+php- Yanha ham 3 things ka use karege Phpmailer ka use mail bhejne ke liye means verification link user ki email id par bhejne ke liye (aap mail function ya swiftmailer be use kar sakte ho) Mysql ka use user information ko database me store karne ke liye Php -php ka use form create karne ke liye means sara dynamic form work karne ke liye. app bootstap and css ka use karke ise mobile responsive and stylish be bana sakte ho index.php <?php include_once("config.php"); $ms=''; if(isset($_POST['submit'])) { $name=$_POST['name']; $email=$_POST['email']; $password=md5($_POST['password'...

Email Verification With OTP-One Time Password

Hello friends ajj me apko btaunga ki ham simple email otp verification script kaise bana sakte hai. App demo niche diye gye link se check kar sakte ho; Demo-       OTP Email Verification Script Index2.php <center><form action="mail.php" method="post"> Name:<input type="text" name="firstname"> Email:<input type="text" name="username"> Phone:<input type="text" name="lastname"> <input type="submit" name="submit" value="submit"> </form> </center> Index2.php file ki help se hamne front end ke liye ek form bnaya hai jiska use kerke user apne information,signup karega mail.php <center> <?php session_start(); $code=rand(22222,99999); $_SESSION["code"]=$code; $username=$_POST['username']; $firstname=$_POST['firstname']; $lastname=$_POST['...

Google Invisible Recaptcha Verification Contact Form Kaise Bnaye

Demo- Google Invisible Recaptcha Verification  Hello friends ajj me apko btaunga ki ki parkar ham apni website me kisi be form me google invisible recaptcha verification code integrate kar sakte hai easily. Yanha ham php and mysql ka use be karege takki user dwara enter kiye gye data ,information ,name ,email, message ko ham mysql databse me store karwa sake ,iske liye aap database bana lijiye janha  ek  google name se table bna lijiye jisme app 4 fields id ,name,email,message create kar lijiye. Step1- https://www.google.com/recaptcha/admin Url open kijiye step2- ab  aap sabse pehle label me apni website ka  url enter kijiye jis website me aap google  invisible recaptcha verification add karna chahte ho step3- ab aap recaptcha invisible par click kijiye step4- domains me apne website ka name enter kijiye jese label me kiya tha step5 - Accept the reCAPTCHA Terms of Service . Ke samne checkbox ko tik ka...

Google Recaptcha Verification Contact Form Kaise Bnaye

Demo- Google reCAPTCHA v2 Contact Form Hello friends ajj me apko btaunga ki ki parkar ham apni website me kisi be form me google recaptcha verification code(I am not reboot) integrate kar sakte hai easily. Step1- https://www.google.com/recaptcha/admin Url open kijiye step2- ab  aap sabse pehle label me apni website ka  url enter kijiye jis website me aap google recaptcha verification add karna chahte ho step3- ab aap recaptcha v2 par click kijiye step4- domains me apne website ka name enter kijiye jese label me kiya tha step5- Accept the reCAPTCHA Terms of Service. Ke samne checkbox ko tik kar lijiye(select) step6- ab register par click kijiye step6-ab yanha apko site key and secret key milegi aap in key ko yanha se copy kar lijiye or niche diye gye code me paste kar dijiye. Html form me sitekey ke samne sitekey paste kijiye. Google Recaptcha Contact Form- <center> <?php $conn=mysqli_connect("hostname",...

Simple pagination Script Kaise Bnaye-Php ,Jquery & Mysql

Simple pagination Script Kaise Bnaye-Php & Mysql Aap demo niche diye gye link se check  kar sakte ho. Demo- Simple Pagination with Php & mysql Step1-database connection ke liye ek db.php name se file create kar lijiye db.php <?php $conn=mysqli_connect("localhost","root","","malala");//enter your databse name here ?> Step2-ab index.php name se file create kar lijiye index.php <center> <?php   include 'db.php'; $limit = 2; if (isset($_GET["page"])) { $page  = $_GET["page"]; } else { $page=1; }; $start_from = ($page-1) * $limit; $sql = "SELECT * FROM demo ORDER BY id ASC LIMIT $start_from, $limit"; $rs_result = mysqli_query($conn, $sql); ?> <?php while ($row = mysqli_fetch_assoc($rs_result)) { $id=$row['id']; $title=$row['title']; $name=$row['name']; $content=substr($row[...

How To Check EMAIL Id Is Registered Or Unregistered In Database

How To Check Email Already Exit Or Not-Using Php And Mysql Email id database me registered hai ya nhi ye janna hamare liye bhut jarruri hota hai .iske liye ajj me apko ek simple script btane wala hu jiska use aap apne project me easily kar sakte ho. Example -agar hm koi signup form bna rhe hai or ham chahte hai ki koi user bar bar same email id se register ne kare to ye script hmare liye duplication ko rokne me madad karegi.iska use karke aap database me duplicate entry hone se rok sakte ho. php script to validate email address- index.php <?php   if(isset($_REQUEST['send']))       { $con=mysqli_connect("localhost","root","","sendmail"); $email=$_POST["email"]; $query = "SELECT * FROM Users WHERE email='$email'"; $res_u = mysqli_query($con, $query ); if (mysqli_num_rows($res_u) > 0) { echo "You are subscribed Our Website Please Check Download ...

Localhost And Webhosting Se Attachment Kaise Send Kare –By Using Phpmailer

Localhost And Webhosting Se Attachment Kaise Send Kare –By Using Phpmailer Hello Friends Ajj Me Apko Btaunga Ki Kis Parkar Ham Php Mailer Ka Use Karke User Ki Email Id Par Attachment Send Kar Sakte Hai.Apne Kai Website Par Ye Feature Dekha Hoga Ki Wanha Ek Textbox Ka Option Hota Hai Jb Ham Textbox Me Apne Email Id Enter Karke Submit Karte Hai T Us Website Ke Dwara Automatic He Download Link,Attachment,Pdf File Hmare Email Id Par A Jati Hai.Ye Ek Bhut Acha Feature Hai .Aap Be Iska Use Apne Website Me Kar Sakte Ho.Hm Mail Ko 2 Type Se Send Kar Sakte Hai Ek To Mail Function And Dusra Phpmailer ,Ajj Me Apko Phpmailer Ke Bare Me Btaunga Kiunki Iska Use Karke Aap Localhost Se Be Attachment And Email Send Kar Sakte Ho. Demo Link Send Email With Phpmailer Sabse Pehle app Github se PHPMailr Library Download Kar lijiye Download PHPMailer Library Steps for send mail with attachment(phpmailer) 1-ek index.php name ki file bana lijiye. Index.php <?php  ...