Skip to content

Instantly share code, notes, and snippets.

View martisj's full-sized avatar
🐊

Martin Sjåstad martisj

🐊
View GitHub Profile

install php

with mysql pgsql intl support

$ brew install php --with-apache --with-mysql --with-pgsql --with-intl

set php timezone in php ini

date.timezone = Europe/Vienna
<?php
$action = (isset($_POST['__action'])) ? $_POST['__action'] : null; // is the action we have to take
$err = array(); // empty array to hold any processing errors
if($action){ // there is an action
if($action == 'email'){
// we must process the email form
require_once('send.php'); // require the file needed to process email form
@martisj
martisj / dabblet.css
Created August 3, 2012 08:22 — forked from anonymous/dabblet.css
Lining up form elements
/**
* Lining up form elements
*/