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 | |
class LoginController extends \Phalcon\Mvc\Controller | |
{ | |
private function _registerSession(User $user) | |
{ | |
$this->session->set('auth', array( | |
'loggedin' => true, | |
'id' => $user->id, |
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
<!-- create.blade.php --> | |
@extends('layouts.app') | |
@section('content') | |
<form method="post" action="{{url('home')}}"> | |
{{csrf_field()}} | |
<div class="form-group row"> | |
<label for="lgFormGroupInput" class="col-sm-2 col-form-label col-form-label-lg">Nama Guru</label> | |
<div class="col-sm-10"> | |
<input type="text" class="form-control form-control-lg" id="lgFormGroupInput" placeholder="Nama Guru" name="nama_guru"> | |
</div> |
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="{{ app()->getLocale() }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- CSRF Token --> | |
<meta name="csrf-token" content="{{ csrf_token() }}"> |
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 | |
/* | |
Gratis Makanan Kucing Dari gratiswhiskas.com | |
Script ini berfungsi untuk submit lebih dari 1x (karena aslinya dibatasi hanya 1x) | |
HOW TO USE | |
root@oktavianto:# php filename.php | |
SCRIPT INI BERTUJUAN UNTUK PEMBELAJARAN BAGI PARA USER/DEVELOPER | |
USE AT YOUR OWN RISK |
NewerOlder