This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql -u root -p database_name < file.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>Website Payment Standard</title> | |
<script type="text/javascript" language="javascript"> | |
function paypal_submit() | |
{ | |
//var actionName='https://www.paypal.com/cgi-bin/webscr'; | |
var actionName='https://www.sandbox.paypal.com/cgi-bin/webscr'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$image = $request->file('image'); | |
if ($image) { | |
$image_name = str_random(20); | |
$ext = strtolower($image->getClientOriginalExtension()); | |
$image_full_name = $image_name . '.' . $ext; | |
$upload_path = 'image/'; | |
$image_url = $upload_path . $image_full_name; | |
$success = $image->move($upload_path, $image_full_name); | |
if ($success) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<select class="form-control"> | |
<option>Choose One</option> | |
<option value="Barguna">Barguna</option> | |
<option value="Barisal">Barisal</option> | |
<option value="Bhola">Bhola</option> | |
<option value="Jhalokati">Jhalokati</option> | |
<option value="Patuakhali">Patuakhali</option> | |
<option value="Pirojpur">Pirojpur</option> | |
<option value="Bandarban">Bandarban</option> | |
<option value="Brahmanbaria">Brahmanbaria</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="col-sm-3"> | |
<select class="form-control"> | |
<option>Choose One</option> | |
<option value="Akkelpur">Akkelpur</option> | |
<option value="Joypurhat Sadar">Joypurhat Sadar</option> | |
<option value="Kalai">Kalai</option> | |
<option value="Khetlal">Khetlal</option> | |
<option value="Panchbibi">Panchbibi</option> | |
<option value="Adamdighi">Adamdighi</option> | |
<option value="Bogra Sadar">Bogra Sadar</option> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Route::get('artisan/command/{key?}', array(function($key = null) | |
{ | |
Artisan::call('config:clear'); | |
if($key == "cache-clear") | |
{ | |
try | |
{ | |
echo '<br>php artisan cache:clear...'; | |
Artisan::call('cache:clear'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(navigator.userAgent.match(/MSIE 10/i) || | |
navigator.userAgent.match(/Trident\/7\./) || | |
navigator.userAgent.match(/Edge\/12\./)) { | |
$('body').on("mousewheel", function () { | |
event.preventDefault(); | |
var wd = event.wheelDelta; | |
var csp = window.pageYOffset; | |
window.scrollTo(0, csp - wd); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$targetFolder = $_SERVER['DOCUMENT_ROOT'].'/storage/app/public'; | |
$linkFolder = $_SERVER['DOCUMENT_ROOT'].'/public/storage'; | |
symlink($targetFolder,$linkFolder); | |
echo 'Symlink process successfully completed'; |
OlderNewer