Skip to content

Instantly share code, notes, and snippets.

View phpfact's full-sized avatar
🎯
Focusing

Sachin Sharma phpfact

🎯
Focusing
View GitHub Profile
//= [1] = = = = E:\xampp_2022\htdocs\vaid-ci4-new\app\Controllers\WebBaseController.php
<?php
namespace App\Controllers;
class WebBaseController extends BaseController
{
public $db;
public $validation;
idea idea idea business business sachin idea business idea sachin business idea list
/* Post Create For Business */
https://greet.buzz/
<?php
function GetMAC(){
ob_start();
system('getmac');
$Content = ob_get_contents();
ob_clean();
return substr($Content, strpos($Content,'\\')-20, 17);
}
<!-- On Share Button Windows or Browser Share Native Screen Show Share on social media social media share button broser share web share api api for web share native screen for web share -->
<!DOCTYPE html>
<html>
<head>
<title>
How to use web share API for native
share options in HTML and JavaScript?
</title>
<?php
/*--------------------------------------------------------------------*/
// I have data `2023-01-04 07:30` of `Asia/Kolkata` and i need to convert into UTC
// I am using this function for zoom meeting create with timezone
$myTIME = '2023-01-04 07:30';
$myZONE = 'Asia/Kolkata';
<script>
/* Selected item unselected | select 2 option unselect dropdown */
$('#subject__id').val(null).trigger('change');
/* Select 2 dropdown empty */
$("#subject__id").empty();
</script>
<script>
/*******************************************
__
.___( o)< ( From & To date validation )
\ <_. )
~~~~~~~~~~~~~~~
********************************************/
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css">
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>