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
<?php | |
include 'tatarajah.php'; | |
$search = isset($_GET['search']) ? $_GET['search'] : ''; | |
$rd = "\r\t"; | |
#-------------------------------------------------------------------------------------------------- | |
$conn = mysqli_connect($servername, $dbusername, $dbpassword, $dbname); | |
// Check connection | |
if (mysqli_connect_errno()) | |
{ |
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
<?php | |
/* | |
# https://cbsa.com.br/tools/online-convert-htaccess-to-web-config.aspx | |
#-------------------------------------------------------------------------------------------------- | |
# dalam apache guna laragon | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-d | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-l |
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
<?php | |
namespace Aplikasi\Kitab;//echo __NAMESPACE__; | |
class Sql_Create | |
{ | |
#================================================================================================= | |
#------------------------------------------------------------------------------------------------- | |
function __construct() { } | |
#------------------------------------------------------------------------------------------------- | |
function fieldsType() | |
{ |
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> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Borang Terapung 000</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta name="description" content="Nama saya Amin, berasal dari muar, johor."> | |
<meta name="keywords" content="idea kreatif inovatif projek link Dunia Imaginasi Saya"> | |
<meta name="author" content="Amin007 Ledang"> |
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
<?php | |
#------------------------------------------------------------------------------------------------------------- | |
/* | |
$fileList = glob('/*.*'); | |
foreach($fileList as $filename) | |
{ | |
# Use the is_file function to make sure that it is not a directory. | |
if(is_file($filename)) | |
{ | |
echo $filename . '<br>'; |
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> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
<title>Contoh Borang Login</title> | |
<link href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" rel="stylesheet" type="text/css"> |
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
<?php | |
#--------------------------------------------------------------------------------------------------- | |
function bersih($papar) | |
{ | |
# lepas lari aksara khas dalam SQL | |
//$papar = mysql_real_escape_string($papar); | |
# buang ruang kosong (atau aksara lain) dari mula & akhir | |
$papar = trim($papar); | |
return $papar; |
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
<?php | |
function bukafail($path = 'test.csv', $field = '', $row = 0) | |
{ | |
$myTable = basename($path, '.csv'); | |
if (($handle = fopen($path, 'r')) !== FALSE) | |
{ | |
while (($data = fgetcsv($handle, 1000, ',')) !== FALSE) | |
{ |
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
<rss version="2.0" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" | |
xmlns:admin="http://webns.net/mvcb/" | |
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/"> | |
<channel> | |
<title>eSolat JAKIM : Waktu Solat Hari Ini</title> | |
<link>Batu Pahat, Muar, Segamat, Gemas</link> |
NewerOlder