This file contains hidden or 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
/* http://meyerweb.com/eric/tools/css/reset/ | |
v2.0-modified | 20110126 | |
License: none (public domain) | |
*/ | |
html, body, div, span, applet, object, iframe, | |
h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
a, abbr, acronym, address, big, cite, code, | |
del, dfn, em, img, ins, kbd, q, s, samp, | |
small, strike, strong, sub, sup, tt, var, |
This file contains hidden or 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
<?php | |
return [ | |
'DB' => [ | |
'Username' => 'root', | |
'Password' => '', | |
'Host' => 'mysql:hostname=localhost', |
This file contains hidden or 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
<?php | |
return [ | |
'Database' => [ | |
'App_Host' => 'mysql:host=localhost', | |
'Db_Name' => 'mylife', | |
'User_Name' => 'root', |
This file contains hidden or 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
<?php | |
// At First you need to do this | |
// | |
// Increase then value of max-_upload_file | |
// | |
// from php.ini | |
if (isset($_POST['submit'])) { | |
$j = 0; //Variable for indexing uploaded image |
This file contains hidden or 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
Php supports 'C', 'C++' and Unix shell-style (Perl style) comments. For example: | |
<?php | |
echo 'This is a test'; // This is a one-line c++ style comment | |
/* This is a multi line comment | |
yet another line of comment */ | |
echo 'This is yet another test'; | |
echo 'One Final Test'; # This is a one-line shell-style comment | |
?> |
This file contains hidden or 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
<?php | |
function is_Power_of_four($n) | |
{ | |
$x = $n; | |
while ($x % 4 == 0) { | |
$x /= 4; | |
} | |
if($x == 1) |