Top Menu

Category Archives Uncategorized

To increase the lifetime of a custom session in Laravel, you can use the put() method on the Illuminate\Session\Store object to set the session value and expiration time. Here are the steps: Step-1 First, you need to obtain the Illuminate\Session\Store instance for your custom session. You can do this by calling the session() function, passing in the name of your…

In this article will provide some of the most important example how to run multiple seeders in laravel 8. This post goes in detailed on how to run multiple seeder in laravel 8. This post goes in detailed on laravel run multiple seeders. you will learn laravel 8 run all seeds. Here, i will give you simple example of how…

Here, i will explain to create data type for create table on database table in laravel framework. In this example you will show how tomigration and how you can run migration in laravel project. $table->bigIncrements('id'); Incrementing ID using a "big integer" equivalent. $table->bigInteger('votes'); BIGINT equivalent to the table $table->binary('data'); BLOB equivalent to the table $table->boolean('confirmed'); BOOLEAN equivalent to the table…

In this tutorial, I would like to interduce with you how to use validation in laravel 8. I will let you know how to implement form input validation in laravel 8. In this tutorial, I will show you how to define laravel validation rules, how to validate input and to display validation errors. We will help you to give example…

Excel Formulas and Functions (Commands): Here we explain Advanced Excel Formulas and Basic Excel Functions? This Blogpost will give you the Excel formulas list of the Key Functions of Excel. The Excel Functions covered here are: VLOOKUP, INDEX, MATCH, RANK, AVERAGE, SMALL, LARGE, LOOKUP, ROUND, COUNTIFS, SUMIFS, FIND, DATE, and many more Excel Formulas can help you save time: Count…

If you are tried installing windows 7 on your PC and it’s failed again and again due to various annoying reasons, you’ve probably come to realize that there is large Consume disk space being eaten up by a folder called Windows.old Windows.old is automatically generated whenever you perform an fail installation of Windows 7 with a previous version of the OS…

Mail Function with Attachments in php<?phpfunction mailWithAttachments($fileName, $filepath, $mailto, $fromMail, $fromName, $replyTo, $subject, $message) { $file = $filepath.$fileName; $file_size = filesize($file); $handle = fopen($file, "r"); $content = fread($handle, $file_size); fclose($handle); $content = chunk_split(base64_encode($content)); $uid = md5(uniqid(time()));//for unique number generate $name = basename($file); $header = "From: ".$from_name." <".$fromMail.">rn"; $header .= "Reply-To: ".$replyTo."rn"; $header .= "MIME-Version: 1.0rn"; $header .= "Content-Type: multipart/mixed; boundary="".$uid.""rnrn";…

Some time clients requirement that when I right click then open delete option and particular div delete<!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=utf-8" /> <title>Untitled Document</title> <style>.vmenu { border:1px solid #aaa; position:absolute; background:#fff; display:none; font-size:0.75em;}.vmenu .first_li span { width:100px; display:block; padding:5px 10px; cursor:pointer}.vmenu .inner_li { display:none; margin-left:120px; position:absolute; border:1px solid #aaa; border-left:1px solid…

Wide skyscrapper 160X600 px allways on TOP! also by scrolling <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">      <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script type="text/javascript" src="jquery_scroll.js"></script><script type="text/javascript">           $( document ).ready( function ()            {                $( '#map' ).scrollFollow( {container: 'result1'  } );            }        );</script><title>jafarkhan.blogspot.com</title><body > <style type="text/css">*{ margin: 0;…

How to validate url in java script How to validate url in java scripturl validation in java scripHow to validate url in java scriptThis function can be used for validating url function isURL(s) { var regexp = /http://[A-Za-z0-9.-]{3,}.[A-Za-z]{3}/; return regexp.test(s);}  <html><head></head><script language="javascript">function isURL(s) { var regexp = /http://[A-Za-z0-9.-]{3,}.[A-Za-z]{3}/; alert(regexp.test(s));}</script><body> <form> <input type="text" name="url" size="20" id="url"/> <input type="button" value="Validate"  onClick="javascript:isURL(document.getElementById('url').value);"/> </form></body></html>

12
Close