Monday, 9 September 2019

Light Box Image Gallery

Light box image gallery

More than 50 percent light box gallery uses this.

    <link rel="stylesheet" href="">
    <link href="lightbox.min.css" rel="stylesheet" />
    <script src="lightbox-plus-jquery.min.js"></script>
    <title>Girfa Light Box</title

Friday, 6 September 2019

Update query | Prepare statement

MYSQL prepare query for update using PHP

function SavePaymentStatus($status,$refno)
$stmt = $this->conn->stmt_init();
if ($stmt->prepare("update rlss4 set id10=? where id2=?"))
$stmt->bind_param("ss", $status, $refno);
$stmt->execute() or die("<h1>Error</h1>".mysqli_error($this->conn));     
return true;
return false;

Sunday, 25 August 2019

Google Recaptcha

Google Recaptcha

What is reCAPTCHA?

reCAPTCHA is a free service that protects your website from spam and abuse. reCAPTCHA uses an advanced risk analysis engine and adaptive challenges to keep automated software from engaging in abusive activities on your site. It does this while letting your valid users pass through with ease.

Tuesday, 2 July 2019

Add image to server C#

this post will help you to upload a file to the server with a new name


    <input type="file" id="filelogo" class="fileUpload" accept="image/x-png,image/jpeg" /><br /><br />
  <input type="button" value="Upload" onclick="UploadImage('filelogo','new name')" >


Java Script

function UploadImage(fnm,newname)
        var data = new FormData();
        data.append("filename", $("#"+fnm)[0].fil