Download gratis e-book tutorial Laravel Step by Step jelas disertai gambar.
Klik di sini untuk download.
Showing posts with label Web programming. Show all posts
Showing posts with label Web programming. Show all posts
Download Tutorial Framework Laravel Step by Step Gratis!!!
Posted by
Dewi Mulyani
|
Thursday, December 8, 2016
|
Labels:
Programming,
Technology,
Web programming
|
0
comments
Download Software POS/ Kasir/ Inventory Gratis!!!
Posted by
Dewi Mulyani
|
Saturday, October 8, 2016
|
Labels:
Technology,
Web programming
|
0
comments
Assalamu'alaikum Momo lovers! :)
Gomen ne, baru posting lagi, baru sempat, bukan baru sempat, baru niat sih! :D
Aku mau share software POS (Point of Sale)/Kasir, dilengkapi dengan scan barcode penjualan dan create barcode.
Sistem ini gak aku perjual belikan, kamu bebas pakai. :)
Sistem ini dibuat dengan bahasa PHP vesi 5.2.9, database nya menggunakan PostgreSQL.
Pertama yang harus kamu lakukan adalah download XAMPP, yang mana di dalam nya sudah bundled server Apache, PHP, dan lain-lain. XAMPP nya pakai yang versi 1.7.1 ya soalnya kalau beda versi nanti PHPnya beda versi juga, dan akan berakibat beberapa error pada sistem.
Bisa aja sih pakai PHP versi lebih atas, tapi nanti teman-teman harus mengganti beberapa script nya.
Setelah download dan install XAMPP, lalu download database PostgreSQLnya di sini.
Udah beres download dan install PostgreSQLnya, silahkan download software POS/Kasir di sini.
Software ini dilengkapi dengan sistem inventory FIFO di mana ketika barang dalam satu bulan belum habis, maka harus dijual di bulan berikutnya, begitu seterusnya.
Apabila barang di bulan sebelumnya belum habis namun menyimpan stok lagi di bulan yang sama, maka sistem penjualannya tidak akan berfungsi.
Dilengkapi juga dengan cetak struk dan halaman admin untuk setting store dan colour template, juga bisa generate barcode.
ACCOUNT ADMIN
username: admin
password: admin
ACCOUNT USER
username: momochan
password: momochan
Mudah-mudahan bermanfaat dan silahkan dishare!!! :)
Happy coding all!
Berikut screenshoot software tersebut:
Gomen ne, baru posting lagi, baru sempat, bukan baru sempat, baru niat sih! :D
Aku mau share software POS (Point of Sale)/Kasir, dilengkapi dengan scan barcode penjualan dan create barcode.
Sistem ini gak aku perjual belikan, kamu bebas pakai. :)
Sistem ini dibuat dengan bahasa PHP vesi 5.2.9, database nya menggunakan PostgreSQL.
Pertama yang harus kamu lakukan adalah download XAMPP, yang mana di dalam nya sudah bundled server Apache, PHP, dan lain-lain. XAMPP nya pakai yang versi 1.7.1 ya soalnya kalau beda versi nanti PHPnya beda versi juga, dan akan berakibat beberapa error pada sistem.
Bisa aja sih pakai PHP versi lebih atas, tapi nanti teman-teman harus mengganti beberapa script nya.
Setelah download dan install XAMPP, lalu download database PostgreSQLnya di sini.
Udah beres download dan install PostgreSQLnya, silahkan download software POS/Kasir di sini.
Software ini dilengkapi dengan sistem inventory FIFO di mana ketika barang dalam satu bulan belum habis, maka harus dijual di bulan berikutnya, begitu seterusnya.
Apabila barang di bulan sebelumnya belum habis namun menyimpan stok lagi di bulan yang sama, maka sistem penjualannya tidak akan berfungsi.
Dilengkapi juga dengan cetak struk dan halaman admin untuk setting store dan colour template, juga bisa generate barcode.
ACCOUNT ADMIN
username: admin
password: admin
ACCOUNT USER
username: momochan
password: momochan
Mudah-mudahan bermanfaat dan silahkan dishare!!! :)
Happy coding all!
Berikut screenshoot software tersebut:
PHP Simple FIbonacci Script
Posted by
Dewi Mulyani
|
Tuesday, May 17, 2016
|
Labels:
Algorithm,
Technology,
Web programming
|
0
comments
Yeay... Momo Lovers (LOL) :'D
It has been a long time since I've focused on something, I didn't create anything strange anymore here. :'D
While I am preparing for something and then looking for some of basic algorithm again like I used to do some years ago, I found about Fibonacci Sequence Logic.
(As always, I immediately zonked out when learning something overnight -_- Zzzzz )
What is Fibonacci?
Fibonacci is the sequence that let each number value adding itself with the value preceding to it.
<?
$first=0;
$second=1;
echo "$first $second";
for($i=1; $i<=6; $i++)
{
$third=$a+$b;
$first=$second;
$second=$third;
echo "$third ";
}
?>
The result will be:
0 1 1 2 3 5
It has been a long time since I've focused on something, I didn't create anything strange anymore here. :'D
While I am preparing for something and then looking for some of basic algorithm again like I used to do some years ago, I found about Fibonacci Sequence Logic.
(As always, I immediately zonked out when learning something overnight -_- Zzzzz )
What is Fibonacci?
Fibonacci is the sequence that let each number value adding itself with the value preceding to it.
<?
$first=0;
$second=1;
echo "$first $second";
for($i=1; $i<=6; $i++)
{
$third=$a+$b;
$first=$second;
$second=$third;
echo "$third ";
}
?>
The result will be:
0 1 1 2 3 5
Encrypting the Entire of PHP Script
Just go to the link below:
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm
Then fill the box with your script.
Then press the Encrypt button, you will see the result
Finish! :D Just copy and paste your encrypted script. :)
http://www.dynamicdrive.com/dynamicindex9/encrypter.htm
Then fill the box with your script.
Then press the Encrypt button, you will see the result
Finish! :D Just copy and paste your encrypted script. :)
Database Connection Script using PHP and MySQL
<?php
$host = "localhost"; // customize to your host
$user = "root"; // customize to your user name
$password = ""; // fill blank if the user don't have a password
$db = ""; // fill with your database's name
$connect = mysql_connect($host,$user,$password);
if (!$connect) {
echo "Connecting database failed.";
echo mysql_error();
}
$selectdb = mysql_select_db($db);
if (!$selectdb) {
echo "selected database failed";
echo mysql_error();
}
?>
$host = "localhost"; // customize to your host
$user = "root"; // customize to your user name
$password = ""; // fill blank if the user don't have a password
$db = ""; // fill with your database's name
$connect = mysql_connect($host,$user,$password);
if (!$connect) {
echo "Connecting database failed.";
echo mysql_error();
}
$selectdb = mysql_select_db($db);
if (!$selectdb) {
echo "selected database failed";
echo mysql_error();
}
?>
Events/bind bind( type, [data], fn ) JQuery
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script src="../jquery-latest.js"></script>
<script>
$(document).ready(function(){
$("p").bind("click", function(e){
var str = "( " + e.pageX + ", " + e.pageY + " )";
$("span").text("Click happened! " + str);
});
$("p").bind("dblclick", function(){
$("span").text("Double-click happened in " + this.tagName);
});
});
</script>
<style>
p { background:yellow; font-weight:bold; cursor:pointer;
padding:5px; }
span { color:red; }
</style>
</head>
<body>
<p>Click or double click here.</p>
<span></span>
</body>
</html>
Form ajax example {html,php}
HTML FILE
<!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>
<title>AJAX Form</title>
<script type="text/javascript" src="jquery-1.2.3.pack.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$().ajaxStart(function() {
$('#loading').show();
$('#result').hide();
}).ajaxStop(function() {
$('#loading').hide();
$('#result').fadeIn('slow');
});
$('#myForm').submit(function() {
$.ajax({
type: 'POST',
url: $(this).attr('action'),
data: $(this).serialize(),
success: function(data) {
$('#result').html(data);
}
})
return false;
});
})
</script>
<style type="text/css">
body, table, input, select, textarea { font: 11px/20px Verdana, sans-serif; }
h4 { font-size: 18px; }
input { padding: 3px; border: 1px solid #999; }
td { padding: 5px; }
#result { background-color: #F0FFED; border: 1px solid #215800; padding: 10px; width: 400px; margin-bottom: 20px; }
</style>
</head>
<body>
<h4>AJAX Form</h4>
<div id="loading" style="display:none;"><img src="loading.gif" alt="loading..." /></div>
<div id="result" style="display:none;"></div>
<form id="myForm" method="post" action="proses.php">
<table>
<tr>
<td width="100">NIM</td>
<td>
<input name="nim" size="30" type="text" />
</td>
</tr>
<tr>
<td>Nama</td>
<td>
<input name="nama" size="40" type="text" />
</td>
</tr>
<tr>
<td>Tempat Lahir</td>
<td>
<input name="tempat_lahir" size="40" type="text" />
</td>
</tr>
<tr>
<td>Tanggal Lahir</td>
<td>
<input name="tgl_lahir" size="40" type="text" />
</td>
</tr>
<tr>
<td>Alamat</td>
<td>
<input name="alamat" size="60" type="text" />
</td>
</tr>
<tr>
<td>No. Telp</td>
<td>
<input name="no_telp" size="30" type="text" />
</td>
</tr>
<tr>
<td>No. HP</td>
<td>
<input name="no_hp" size="30" type="text" />
</td>
</tr>
<tr>
<td>E-mail</td>
<td>
<input name="email" id="email" size="30" type="text" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</td>
</tr>
</table>
</form>
</body>
</html>
PHP FILE
<?php
mysql_connect("****","********","");
mysql_select_db("testajax");
$nip = $_GET['q'];
if($nip){
$query = mysql_query("select alamat from tabelDataKaryawan where
nip=$nip");
while($d = mysql_fetch_array($query)){
echo $d['alamat'];
}
}
?>
<!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>
<title>AJAX Form</title>
<script type="text/javascript" src="jquery-1.2.3.pack.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$().ajaxStart(function() {
$('#loading').show();
$('#result').hide();
}).ajaxStop(function() {
$('#loading').hide();
$('#result').fadeIn('slow');
});
$('#myForm').submit(function() {
$.ajax({
type: 'POST',
url: $(this).attr('action'),
data: $(this).serialize(),
success: function(data) {
$('#result').html(data);
}
})
return false;
});
})
</script>
<style type="text/css">
body, table, input, select, textarea { font: 11px/20px Verdana, sans-serif; }
h4 { font-size: 18px; }
input { padding: 3px; border: 1px solid #999; }
td { padding: 5px; }
#result { background-color: #F0FFED; border: 1px solid #215800; padding: 10px; width: 400px; margin-bottom: 20px; }
</style>
</head>
<body>
<h4>AJAX Form</h4>
<div id="loading" style="display:none;"><img src="loading.gif" alt="loading..." /></div>
<div id="result" style="display:none;"></div>
<form id="myForm" method="post" action="proses.php">
<table>
<tr>
<td width="100">NIM</td>
<td>
<input name="nim" size="30" type="text" />
</td>
</tr>
<tr>
<td>Nama</td>
<td>
<input name="nama" size="40" type="text" />
</td>
</tr>
<tr>
<td>Tempat Lahir</td>
<td>
<input name="tempat_lahir" size="40" type="text" />
</td>
</tr>
<tr>
<td>Tanggal Lahir</td>
<td>
<input name="tgl_lahir" size="40" type="text" />
</td>
</tr>
<tr>
<td>Alamat</td>
<td>
<input name="alamat" size="60" type="text" />
</td>
</tr>
<tr>
<td>No. Telp</td>
<td>
<input name="no_telp" size="30" type="text" />
</td>
</tr>
<tr>
<td>No. HP</td>
<td>
<input name="no_hp" size="30" type="text" />
</td>
</tr>
<tr>
<td>E-mail</td>
<td>
<input name="email" id="email" size="30" type="text" />
</td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" value="Submit" />
<input type="reset" value="Reset" />
</td>
</tr>
</table>
</form>
</body>
</html>
PHP FILE
<?php
mysql_connect("****","********","");
mysql_select_db("testajax");
$nip = $_GET['q'];
if($nip){
$query = mysql_query("select alamat from tabelDataKaryawan where
nip=$nip");
while($d = mysql_fetch_array($query)){
echo $d['alamat'];
}
}
?>
Proses login (PHP)
<?php
session_start();
$username = $_POST['username'];
$password = $_POST['password'];
if ($username == '*****t' && $password == '*****')
{
$_SESSION['login'] = $username;
echo 'Anda login sebagai '.$_SESSION['login'].'<br>';
echo 'Silahkan klik <a href="member.php">Member Area</a> untuk melihat member area.';
}
else
{
echo 'Login gagal, username atau password salah<br>';
echo 'Klik <a href="login.php">Login</a> untuk mencoba lagi.';
}
?>
session_start();
$username = $_POST['username'];
$password = $_POST['password'];
if ($username == '*****t' && $password == '*****')
{
$_SESSION['login'] = $username;
echo 'Anda login sebagai '.$_SESSION['login'].'<br>';
echo 'Silahkan klik <a href="member.php">Member Area</a> untuk melihat member area.';
}
else
{
echo 'Login gagal, username atau password salah<br>';
echo 'Klik <a href="login.php">Login</a> untuk mencoba lagi.';
}
?>
Subscribe to:
Posts (Atom)