title: How to add the text while uploading the multiple images using PHP
body: <p>Here i want to multiple file upload with water marker,i don't know how add water mark text(WELCOME) in my uploading image,as of now i did multiple file upload,in php code how can i add water mark text,if any one knows means please update my code,</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$("#rentBtnSubmit").click(function(e){
   e.preventDefault();
    var formData = new FormData();
     var formData = new FormData($('#rentForm')[0]);
     formData.append('file[]', $('input[type=file]')[0].files[0]);
     $.ajax({
      type:'POST',
       url :"test.php",
       data: formData,
      cache: false,
      contentType: false,
      processData: false,
      success: function(data) {
       if(data['status'] =='success'){
         alert('Success');
                       }
                       else{
         alert('Error');
                       } 
         },
      error:function(exception){
      $("#rentError").show(); 
     $("#rentError").fadeOut(4000); 
     }
     }); 
     });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;form id="rentForm"&gt;
  &lt;div class="row"&gt;
          &lt;div class="col-md-12"&gt;
     &lt;div class="form-group"&gt;
     &lt;label class="control-label"&gt;Upload Property Photo&lt;/label&gt;
     &lt;br&gt;
     &lt;div id="maindiv"&gt;
     &lt;div id="formdiv"&gt;
     &lt;span id="filediv col-md-3"&gt;&lt;input name="file[]" type="file" id="file" multiple=""/&gt;&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;/div&gt;  
   &lt;/div&gt;
  &lt;/div&gt;&lt;br&gt;&lt;br&gt;
  &lt;button type="button center-block"  id="rentBtnSubmit"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  &lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <blockquote>
    <p>test.php</p>
  </blockquote>
  
  <pre><code>    $FilleAll = $_FILES['file']['name'];
      $fileCount = count($FilleAll);
      for ($i = 1; $i &lt; count($FilleAll); $i++) {
      $extension = pathinfo( basename($_FILES['file']['name'][$i]), PATHINFO_EXTENSION);
      $image_filename= md5(basename($_FILES['file']['name'][$i]).time()).'.'.$extension;
      $move = move_uploaded_file($_FILES['file']['tmp_name'][$i],"watermark_images/".$image_filename);
    }
  </code></pre>