Skip to content

Instantly share code, notes, and snippets.

View waqas385's full-sized avatar

Waqas Ahmed waqas385

View GitHub Profile
@pitch-gist
pitch-gist / gist:2999707
Created June 26, 2012 22:21
HTML: Simple Maintenance Page
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>
<?php
require_once 'PHPToolkit/NetSuiteService.php';
$service = new NetSuiteService();
$uploadFile = new File();
$attachFrom = '_computer'; // or $attachFrom = _web
$path = 'imageFromComputer.jpg'; // or for image url i.e. $path = 'http://www.qspectrum.com/wp-content/uploads/2015/08/dummy-profile-pic-male.jpg';