Page MenuHomePhabricator

preloaded-source.php
No OneTemporary

preloaded-source.php

<?php
require_once '../../support/php/JavelinHelper.php';
$list = file_get_contents('animals.txt');
$list = explode("\n", trim($list));
$response = array();
foreach ($list as $id => $animal) {
$response[] = array(
ucfirst($animal),
'http://www.google.com/search?q='.$animal,
$id);
}
echo JavelinHelper::renderAjaxResponse($response);

File Metadata

Mime Type
text/x-php
Expires
Fri, Jun 11, 10:45 AM (1 d, 23 h)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
3391408
Default Alt Text
preloaded-source.php (352 B)

Event Timeline