Skip to content

Instantly share code, notes, and snippets.

Tutorial Web Design tutweb

  • Tutweb
  • Indonesia
Block or report user

Report or block tutweb

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tutweb
tutweb / post-receive-json-php-curl.php
Created Aug 13, 2017
Mengirim dan menerima data JSON dengan PHP cURL
View post-receive-json-php-curl.php
<?php
//API URL
$url = 'http://www.contohweb.com/api';
//create a new cURL resource
$ch = curl_init($url);
//setup request to send json via POST
$data = array(
@tutweb
tutweb / write-json-file.php
Created Oct 6, 2016
Write JSON file with PHP
View write-json-file.php
<?php
// array
$array = Array (
"0" => Array (
"id" => "USR1",
"name" => "Steve Jobs",
"company" => "Apple"
),
"1" => Array (
"id" => "USR2",
@tutweb
tutweb / contact-form-email.php
Last active Sep 25, 2016
Contoh form kontak dengan PHP yang terkirim ke email
View contact-form-email.php
<?php
$statusMsg = '';
$msgClass = '';
if(isset($_POST['submit'])){
// Get the submitted form data
$email = $_POST['email'];
$name = $_POST['name'];
$subject = $_POST['subject'];
$message = $_POST['message'];
@tutweb
tutweb / popup-css-javscript
Created Sep 2, 2016
Popup dengan css dan javascript
View popup-css-javscript
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Popup</title>
<style>
body{
font-family: arial, verdana, sans-serif;
}
View multilevel-dropdown-menu.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Multilevel Dropdown Menu dengan CSS | Jurnalweb.com</title>
<meta name="description" content="Tutorial cara membuat multilevel dropdown menu dengan CSS tanpa perlu javascript sama sekali">
<meta name="keywords" content="css, menu, dropdown menu, menu dropdown, web design, desain web, multilevel menu, multilevel dropdown">
<style type="text/css">
.nav {
width: auto;
@tutweb
tutweb / multiple-file-upload.php
Created Jul 23, 2016
Script upload multiple file dengan PHP
View multiple-file-upload.php
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Multiple File Upload dengan PHP | Jurnalweb.com</title>
</head>
<body>
<form action="" method="post" enctype="multipart/form-data">
<input type="file" id="file" name="files[]" multiple="multiple" accept="image/*" />
<input type="submit" value="Upload!">
@tutweb
tutweb / alexa-rank-checker.php
Last active Apr 19, 2019
PHP Alexa Rank Checker
View alexa-rank-checker.php
<?php
/**
* Ranking Alexa dengan PHP
*
* @param string $domain (www.jurnalweb.com)
* @return int || void
*/
function AlexaRank($domain){
$uri = 'http://data.alexa.com/data?cli=10&dat=snbamz&url=';
@tutweb
tutweb / jw-embed-youtube.html
Last active Jul 16, 2016
Script Embed YouTube Video Player Responsive
View jw-embed-youtube.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Youtube</title>
<style>
header h1{font-size:20px;}
header p{margin:5px auto}
.youtube-container { display: block; /*margin: 20px auto;*/ width: 100%; max-width: 600px; border:1px solid #000; }
@tutweb
tutweb / move.php
Created Jun 20, 2016
Script transfer file antar CPANEL hosting
View move.php
<?php
/* Mengambil file dari hosting lama */
/* File juga bisa diambil dari IP tertentu */
$content = file_get_contents("http://DOMAINLAMA.com/FILE_WEB_SAYA.zip");
/* Menyimpan file di hosting baru. pada folder yang diinginkan */
@tutweb
tutweb / show-hide-password.html
Created May 24, 2016
Cara show hide password dengan javascript
View show-hide-password.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Show Hide Password dengan Javascript | Jurnalweb.com</title>
<meta name="description" content="Cara hide show password dengan javascript agar pengguna bisa melihat dan menyembunyikan teks password form login atau register"/>
<meta name="keywords" content="html, javascript, coding, koding, pemrograman, show hide password, js"/>
<style>
header{
You can’t perform that action at this time.