This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
/* | |
|-------------------------------------------------------------------------- | |
| Register The Auto Loader | |
|-------------------------------------------------------------------------- | |
| | |
| Composer provides a convenient, automatically generated class loader | |
| for our application. We just need to utilize it! We'll require it |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
XMLHttpRequest cannot load http://localhost:8080/RequestHandler.aspx?responseType=json&device=web&action=RETRIEVEMEMBERS&accessCode=1f410cdb-0a1d-4. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost' is therefore not allowed access. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @file | |
* Admin module for managing builds | |
*/ | |
function calendar_admin_menu() { | |
$items = array(); | |
$items['calendar/admin/sponsor/new'] = array( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (strtoupper($_SERVER['REQUEST_METHOD'])=='POST') { | |
date_default_timezone_set('Etc/UTC'); | |
require './PHPMailerAutoload.php'; | |
$mail = new PHPMailer; | |
$mail->isSMTP(); | |
$mail->SMTPDebug = 1; | |
//Ask for HTML-friendly debug output | |
$mail->Debugoutput = 'html'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo "year = " . $year; | |
header("Content-Type: text/csv"); | |
header("Content-Disposition: attachment; filename=file.csv"); // Disable caching | |
header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP 1.1 | |
header("Pragma: no-cache"); // HTTP 1.0 | |
header("Expires: 0"); // Proxies | |
$objects = re_dashboard_sendCSV($year); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="confirmation.php" name="donationForm" id="donationForm" onsubmit="return validateAmount();"> | |
<input type="hidden" id= | |
"my-frequency" name="frequency" value= | |
<?php echo '<script type="text/javascript"> myLastFrequency(); </script>'; ?> | |
/> | |
<button class="new-look-select-color new-look-submit-btn" data-pointer-submit="true" name="sbmit" type="submit" value="Submit">SUBMIT | |
</button> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rtmp://fms.12E5.edgecastcdn.net/0012E5/mp4:videos/8Juv1MVa-485.mp4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EntityFieldQueryException: Unknown field: vunetid in EntityFieldQuery->addFieldCondition() (line 779 of /media/psf/Home/apps/newdom/includes/entity.inc). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Version | |
PHP-5.4.34 | |
Constants | |
PHP Prefix: /home/sam/.phpbrew/php/php-5.4.34 | |
PHP Binary: /home/sam/.phpbrew/php/php-5.4.34/bin/php | |
PHP Default Include path: .:/home/sam/.phpbrew/php/php-5.4.34/lib/php | |
PHP Include path: .:/home/sam/.phpbrew/php/php-5.4.34/lib/php | |
General Info |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function convert($string) { | |
return strtotime($string); | |
} | |
$mysqli = mysqli_connect("osx", 'my_user', 'my+p1', 'my_host'); | |
$res = mysqli_query($mysqli, "SELECT donationId, donationDate, donationTime from GeneralDonations where donationTime IS NULL"); | |
// while ($row = mysqli_fetch_assoc($res)) { |