- Python2.7 (x86) from Python.org
- Microsoft Visual Studio
Step 1: Install Distribute & Pip
<?php | |
if(!empty($_SESSION['LoggedIn']) && !empty($_SESSION['Username'])) | |
{ | |
?> | |
<h1>Member Area</h1> | |
<p>Thanks for logging in! You are <b><?=$_SESSION['Username']?><b> and your email address is <b><?=$_SESSION['EmailAddress']?></b>.</p> | |
<ul> | |
<li><a href="logout.php">Logout.</a></li> |
<?php | |
class INFO | |
{ | |
// FUNCTION what menjelaskan apa fungsi halaman ini | |
function what($type='edit') | |
{ | |
// ADMIN.PHP |
-- ----------------------------------------------------- | |
-- Table `users` | |
-- ----------------------------------------------------- | |
CREATE TABLE IF NOT EXISTS `users` ( | |
`UID` INT(25) NOT NULL , | |
`username` VARCHAR(60) NOT NULL , | |
`password` VARCHAR(100) NOT NULL , | |
`ownerFN` VARCHAR(50) NOT NULL , | |
`ownerLN` VARCHAR(100) NOT NULL , |
SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0; | |
SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0; | |
SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='TRADITIONAL'; | |
CREATE SCHEMA IF NOT EXISTS `mydb` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci ; | |
CREATE SCHEMA IF NOT EXISTS `bproject` ; | |
-- ----------------------------------------------------- | |
-- Table `bproject`.`users` | |
-- ----------------------------------------------------- |
$data['username'] = $username; | |
$datauser['username'] = $username; | |
$data['password'] = $password; | |
$data['companyName'] = $companyName; | |
$data['OwnerFn'] = $OwnerFn; | |
$data['OwnerLn'] = $OwnerLn; | |
$data['companyPhone'] = $companyPhone; | |
$data['partnership'] = $partnership; | |
if($db->AutoExecute('company', $data, 'INSERT')) |
<?php | |
preg_match("/(?P<foo>abc)(.*)(?P<bar>xyz)/", | |
'abcdefghijklmnopqrstuvwxyz', | |
$matches); | |
print_r($matches); | |
?> |
<?php | |
/** | |
* Looks for unquoted keys in a json string and fixes them ie: {a:"b"} => {"a":"b"} | |
* @param string $string A json string that is suspect | |
* @return string A valid json string | |
*/ | |
function fix_json($string){ | |
// (no qupte) (word) (no quote) (semicolon) | |
$regex = '/(?<!")([a-zA-Z0-9_]+)(?!")(?=:)/i'; |
NOTE: This documentation has been put here because I couldn't find it anywhere else. I am not associated with Crunchbase in any way. I cannot help you with your Crunchbase API problems. If you need help try here: https://groups.google.com/forum/#!forum/crunchbase-api
The CrunchBase API provides JSON representations of the data found on CrunchBase. The API currently supports three actions: "show", "search", and "list", which are each described below.
var fs = require('fs'); | |
// Bind to receiving of data | |
exports.hook_data = function( next, connection, params ) { | |
var haraka = this, | |
uid = connection.transaction.uuid; | |
connection.transaction.notes.attachments = {}; |