1 2 3 4 |
//2020-06-03T19:08:18+10:00 date('c',time()); date('c',strtotime("+1 month",time())) |
1 2 3 4 5 6 7 8 |
function get_string_between($string, $start, $end){ $string = ' ' . $string; $ini = strpos($string, $start); if ($ini == 0) return ''; $ini += strlen($start); $len = strpos($string, $end, $ini) - $ini; return substr($string, $ini, $len); } |
1 2 3 4 5 6 7 |
<input type="file" onchange="abc(this)"> <script> function abc(element){ $(element).hide(); } // input box will hide </script> |
1 2 3 4 |
$string = '<div class="abc">My data</div>'; echo strip_tags($string); // output = My data |
1 2 3 |
setTimeout(()=>{ // your code }, 10000); |
You will need to change the two instances of example.com to your domain, and the three instances of subdirectory to the folder where you want your site.
Use this link https://www.dropbox.com/developers/documentation/http/documentation for documentation
Create a function for Curl call
Use this link https://docs.microsoft.com/en-us/onedrive/developer/rest-api/getting-started/graph-oauth?view=odsp-graph-online for documentation
creating a function for curl call