User Login

Please enter user name and password into following boxes!

If you are not registered yet, please click

Forget Password

If you forget your password, please click

Last Added Tutorials

  • Laravel Form Checkbox Usage

    Laravel Form Checkbox Usage <div class="form-group col-sm-6"> {{Form::hidden('is_active',0)}} {!! Form::label('is_active', 'Aktif:') !!} {!! Form::checkbox('is_active') !!} </div> Thats All :)...Continue Reading

    File Upload Process in Laravel Framework

    We can easly integrate file upload process in Laravel as follows: 1. Add following codes to index.blade.php file: <div class="form-group col-sm-6"> {!! Form::label('image', 'Image:') !!} @if(isset($application->image)) <img src="{{asset("/uploads/$application->image")}}" width="125" height="125"> <input type="hidden" name="image-old" value="{{$application->image}}"> @endif <div class="form-control"> {!! Form::file('image') !!} </div> </div> 2. In Controller class: public function st...Continue Reading

    Track Created and Modified Fields Automatically with Entity Framework Code First

    using System; using System.Data.Entity; using System.Data.Entity.Core.Objects; using System.Data.Entity.Infrastructure; using System.Data.Entity.ModelConfiguration.Conventions; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Web; using log4net; using TelifBandrolTutanak.Models; namespace TelifBandrolTutanak.DAL { public class BandrolContext : DbContext { private readonly ILog _logger = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); public BandrolContext() : base("Ban...Continue Reading

    Managing Hierarchical Data in MySQL And Php

    We can Category Table CREATE TABLE category ( id INT AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50) NULL, url VARCHAR(50) NULL, parent INT NULL, created_at TIMESTAMP NULL, updated_at TIMESTAMP NULL, deleted_at TIMESTAMP NULL, resim VARCHAR(255) NULL, kisaltma VARCHAR(255) NOT NULL, CONSTRAINT category_category_parent_fk FOREIGN KEY (parent) REFERENCES category (id) ON DELETE SET NULL ) ENGINE = InnoDB COLLATE = utf8_unicode_ci; CREATE INDEX category_category_parent_fk...Continue Reading

    Yajra Datatable Change Per Page Count

    public function html() { return $this->builder() ->columns($this->getColumns()) ->minifiedAjax() ->addAction(['width' => '80px']) ->parameters([ 'dom' => 'Blfrtip', 'order' => [[0, 'desc']], "lengthMenu" => [10, 25, 50, 500], "pageLength"=> "10", 'buttons' => [ 'create', 'export', 'print', 'reset', 'reload',...Continue Reading

    Create Onesignal Push Notification in PHP

    To send onesignal notification in Php, we can use following codes: function sendMessage($title, $message, $userId, array $extraParams, bool $isTest = false) { $app_id = "b21eaaf8-7da9-44e4-aa39-930e2503a109"; $rest_api_key = "NWEwMjU1YmItYzVmNy00YjBhLTlhNjEtNmZlMmUzOWU0Y2Ey"; $heading = array( "en" => $title ); $content = array( "en" => $message ); $fields = array( 'app_id' => $app_id, 'data' => $extraParams, 'contents' => $content, 'headings' => $heading ); $fields['large_icon'] = 'http...Continue Reading

    Php Laravel Socialite And Android Google Sign In Operation

    Php Steps 1. Install Socialite: composer require laravel/socialite 2. Add following codes in config/services.php 'google' => [ 'client_id' => env('GOOGLE_CLIENT_ID'), // Your Google Client ID 'client_secret' => env('GOOGLE_CLIENT_SECRET'), // Your Google Client Secret 'redirect' => '', ], And add GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET variables in .env file: GOOGLE_CLIENT_SECRET=c-4CsKAagTYHVyPKbGVcbAsr...Continue Reading

    How to start npm start Command As Windows Service?

    With the following batch file content, we can start automatically npm start command by creating Windows Service Using NSSM set HOMEDRIVE=C: set HOMEPATH=\Users\%USERNAME% cd C:\Chat App npm start app.js...Continue Reading

    SendGrid Cname Configuration

    SendGrid CNAME configuration MUST look like this:...Continue Reading

    Cordovalib Problem With Android Studio

    Error Message: Error:Cause:;)V Solution: Change gradle version as follows: buildscript { repositories { // Gradle 4.1 and higher include support for Google's Maven repo using // the google() method. And you need to include this repo to download // Android plugin 3.0.0 or higher. google() ... } dependencies { classpath '' } } Problem: Error:Unable to r...Continue Reading