Laravel 5 File Upload With data

Laravel 5 is easy to use file upload is very easy to learn here is the code comment to more improvement. In Your Views {!! Form::open( array( ‘route’ => ‘your path’, ‘class’ => ‘form’, ‘novalidate’ => ‘novalidate’, ‘files’ => true)) !!} {!! Form::text(‘name’, null, array(‘placeholder’=>’ Title’, ‘class’=>’form-control’)) !!} {!! Form::text(‘price’, null, array(‘placeholder’=>’Price’, ‘class’=>’form-control’)) !!} {!!…

Image batching in php

Image Catching in php simple method. <?php $im = imagecreatefrompng(“bmarker.png”); // img you chose //The numbers are the RGB values of the color you want to use //$textcolor = imagecolorallocatealpha($im,255,255,255,127); $textcolor = imagecolorallocate($im, 0, 0, 0); // 4 peratmenter text color on image you want //The canvas’s (0,0) position is the upper left corner //So…