Skip to content

Instantly share code, notes, and snippets.

@benabdullah
benabdullah / index-post.php
Last active August 11, 2017 12:31
Post metodu kullanımının html kısmı ( form kısmı )
<!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8">
<title>Php Form İle Post Methodu Kullanımı</title>
<meta name="description" content="Php ile form kullanımı">
<meta name="author" content="libedux">
@benabdullah
benabdullah / form-post.php
Last active August 11, 2017 12:49
Post değerlerini okuyup, Ekrana bastığımız Php Dosyası
<?php
if ($_POST) {
# Post ile gelen, name değeri isim olan form elemanının değerini alıyoruz ve $soyisim adlı değişkenimize aktarıyoruz
$isim = @$_POST['isim'];
# Post ile gelen, soyisim değeri isim olan form elemanının değerini alıyoruz ve $soyisim adlı değişkenimize aktarıyoruz
$soyisim = @$_POST['soyisim'];
@benabdullah
benabdullah / form-get.php
Last active August 11, 2017 12:53
Get Methodu ile değişkenleri okuduğumuz, işlediğimizi php dosyası
<?php
if ($_GET) {
# Get ile gelen, name değeri isim olan form elemanının değerini alıyoruz ve $soyisim adlı değişkenimize aktarıyoruz
$isim = @$_GET['isim'];
# Get ile gelen, soyisim değeri isim olan form elemanının değerini alıyoruz ve $soyisim adlı değişkenimize aktarıyoruz
$soyisim = @$_GET['soyisim'];
@benabdullah
benabdullah / index-get.php
Last active August 11, 2017 12:55
Get Metodu İçin Kullanacağımız HTML arayüzü ve form tasarımı dosyası
<!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8">
<title>Php Form İle Get Methodu Kullanımı</title>
<meta name="description" content="Php ile form kullanımı">
<meta name="author" content="libedux">
@benabdullah
benabdullah / .php
Last active August 23, 2017 14:48
Zn Framework İmport view için wizard değişikliği
<?
public function use (String $page, Array $data = NULL, Bool $obGetContents = false, String $randomPageDir = VIEWS_DIR)
{
if (!empty(Properties::$parameters['usable'])) {
$obGetContents = Properties::$parameters['usable'];
}
if (!empty(Properties::$parameters['data'])) {
$data = Properties::$parameters['data'];
@benabdullah
benabdullah / dist_index.js
Last active July 14, 2019 22:34
React-native-hr package, “undefined is not an object (evaluating PropTypes.shape) " Error Solution
/**
* find index.js in node_modules/react-native-hr/dist and open with any code / text editor.
* after, add this lines and save file.
*/
var _reactNative = require('react-native'); // existing code on line 13
var _propTypes = require('prop-types'); // add this line, after _reactNative Variable
@benabdullah
benabdullah / Webpack get module
Created December 20, 2019 08:54
webpack access module from outside
function _requireById(id) {
return webpackJsonp([], null, [id]);
}
var Store = {};
Store = _requireById("bhggeigghg").default;