<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>PHP on ShrimpWorks</title><link>/tags/php/</link><description>Recent content in PHP on ShrimpWorks</description><generator>Hugo</generator><language>en-gb</language><lastBuildDate>Sun, 17 Jun 2018 00:00:00 +0000</lastBuildDate><atom:link href="/tags/php/feed.xml" rel="self" type="application/rss+xml"/><item><title>UTStatsDB</title><link>/2018/06/17/utstatsdb/</link><pubDate>Sun, 17 Jun 2018 00:00:00 +0000</pubDate><guid>/2018/06/17/utstatsdb/</guid><description>&lt;a href="/2018/06/17/utstatsdb/2018-06-17-utstatsdb.png"&gt;
		&lt;img src="/2018/06/17/utstatsdb/2018-06-17-utstatsdb_hu_ef54bfbf68e8e7d1.jpg" class="image-center" /&gt;
	&lt;/a&gt;


&lt;p&gt;UTStatsDB is a player and match statistics system for Unreal Tournament 99,
2003, 2004 and 3, which parses match logs generated by each game (sometimes
requiring additional server-side mutators), and makes stats for each game
available through a website.&lt;/p&gt;
&lt;p&gt;The stats are also aggregated by player, map and server, allowing you to browse
and analyse quite a number of in-depth stats for each.&lt;/p&gt;
&lt;p&gt;The project was developed and maintained by Patrick Contreras and Paul Gallier
between 2002 and around 2009, where the &lt;a href="http://www.utstatsdb.com"&gt;original project&lt;/a&gt;
seems to have been abandoned some time after the release of UT3. (&lt;em&gt;addendum: by
some coincidence, after 9 years of inactivity, the original author did create a
release a few days after my revival/release&lt;/em&gt;) Locating downloads (the download
page is/was not working) or the source (their SCM system seems to require auth
or is simply gone) was quite troublesome.&lt;/p&gt;</description></item><item><title>Client-Side Processing of Images with JavaScript Before Uploading</title><link>/2017/03/07/client-side-processing-of-images-with-javascript-before-uploading/</link><pubDate>Tue, 07 Mar 2017 00:00:00 +0000</pubDate><guid>/2017/03/07/client-side-processing-of-images-with-javascript-before-uploading/</guid><description>&lt;p&gt;The title&amp;rsquo;s quite silly unfortunately, but I was recently doing some experimentation with uploading images to &lt;a href="https://couchdb.apache.org/"&gt;CouchDB&lt;/a&gt; directly from a browser. I needed to scale the images before storage, and since I was talking directly to the CouchDB service without any kind of in-between API services or server-side scripts, needed a way to achieve this purely on the client.&lt;/p&gt;
&lt;p&gt;Thanks to modern APIs available in browsers, combined with a Canvas, it&amp;rsquo;s actually reasonably simple to process a user-selected image prior to uploading it to the server without the need for any third-party libraries or scripts.&lt;/p&gt;</description></item><item><title>Out of Eve 3.0 released</title><link>/2016/05/07/out-of-eve-3.0-released/</link><pubDate>Sat, 07 May 2016 00:00:00 +0000</pubDate><guid>/2016/05/07/out-of-eve-3.0-released/</guid><description>&lt;img src="/2016/05/07/out-of-eve-3.0-released/title.png" class="image-center" /&gt;
 


&lt;p&gt;After almost exactly two years since the last release of Out of Eve,
&lt;a href="https://github.com/shrimpza/outofeve/releases/tag/outofeve-3.0-citadel"&gt;here is version 3.0.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As may be noted from the release note, the main goal of this release is to
catch everything up with the current state of EVE, it&amp;rsquo;s API, and the static
data dump.&lt;/p&gt;
&lt;p&gt;Along the way some new stuff was also added an improved, like the new menu
system which allows access to all your characters, so there&amp;rsquo;s no need to switch
between them and then view detail pages, and the introduction of &lt;code&gt;memcached&lt;/code&gt;
caching, which stores and retrieves entities loaded from the static database
dump, reducing page load times and database accesses (a single page load may
result in hundreds of individual MySQL queries).&lt;/p&gt;</description></item><item><title>User Directories and PHP with nginx</title><link>/2015/04/25/user-directories-and-php-with-nginx/</link><pubDate>Sat, 25 Apr 2015 08:53:16 +0000</pubDate><guid>/2015/04/25/user-directories-and-php-with-nginx/</guid><description>&lt;p&gt;I&amp;rsquo;ve become fond of using nginx on my development machines, rather than
a full Apache.&lt;/p&gt;
&lt;p&gt;There are no explicit options built-in which allow something along the
same lines as Apache&amp;rsquo;s &lt;code&gt;userdir&lt;/code&gt;, however it&amp;rsquo;s easy enough to tweak
the default configuration to support that behaviour without the need for
external modules.&lt;/p&gt;
&lt;p&gt;I also do some PHP dabbling from time to time, so need to enable that as
well.&lt;/p&gt;
&lt;p&gt;Install the required bits:&lt;/p&gt;</description></item><item><title>Unit Conversion API</title><link>/2015/01/04/unit-conversion-api/</link><pubDate>Sun, 04 Jan 2015 19:02:18 +0000</pubDate><guid>/2015/01/04/unit-conversion-api/</guid><description>&lt;p&gt;I wanted to add a unit conversion plugin to
&lt;a href="https://github.com/shrimpza/zomb"&gt;ZOMB&lt;/a&gt; and would really have liked to
use an off-the-shelf existing API, but because this didn&amp;rsquo;t seem to exist
in a nice hosted format already - I had to make it :).&lt;/p&gt;
&lt;p&gt;The &lt;a href="https://shrimpza.github.io/units-api"&gt;Units API&lt;/a&gt; is written in PHP,
and is intended to provide an extremely simple and easy-to-use HTTP API
for the conversion between various units of measure. Usage documentation
is available on the project&amp;rsquo;s Github page.&lt;/p&gt;</description></item><item><title>Catchup: Coding</title><link>/2011/08/04/catchup-coding/</link><pubDate>Thu, 04 Aug 2011 14:11:55 +0000</pubDate><guid>/2011/08/04/catchup-coding/</guid><description>&lt;p&gt;Things have been very quiet on the code front lately, with bursts of
activity here and there.&lt;/p&gt;
&lt;p&gt;Primarily, I&amp;rsquo;ve been hacking on Out of Eve. The structure API classes
and implementation of the API requests has been bugging me, especially
when I&amp;rsquo;ve had to add a lot of stuff in recent versions, it just grows
and grows and becomes unmanageable. Unfortunately fixing it has
obviously resulted in breaking every single piece of the application,
which I&amp;rsquo;ve been slowly refactoring and putting back together slightly
more sensibly.&lt;/p&gt;</description></item><item><title>Out of Eve 1.7 released</title><link>/2011/01/16/out-of-eve-1.7-released/</link><pubDate>Sun, 16 Jan 2011 16:55:39 +0000</pubDate><guid>/2011/01/16/out-of-eve-1.7-released/</guid><description>&lt;p&gt;&lt;a href="http://www.eveonline.com/ingameboard.asp?a=topic&amp;amp;threadID=1448716"&gt;Happy
days&lt;/a&gt;.
Now fully &amp;ldquo;Incursion&amp;rdquo; compatible.&lt;/p&gt;
&lt;p&gt;Coming soon is updated API support (mail, taxes), and hopefully some
more handy plugins :).&lt;/p&gt;</description></item><item><title>Out of Eve downloads</title><link>/2010/12/30/out-of-eve-downloads/</link><pubDate>Thu, 30 Dec 2010 11:57:18 +0000</pubDate><guid>/2010/12/30/out-of-eve-downloads/</guid><description>&lt;p&gt;This is just a small update on the status of OOE. As the SVN server
previously hosting the OOE source died, and many people have been
looking for the source, a &lt;a href="http://code.google.com/p/ooe/"&gt;Google Code project has been
started&lt;/a&gt; to facilitate future
development.&lt;/p&gt;
&lt;p&gt;The source is available as both a regular download and via Subversion.&lt;/p&gt;
&lt;p&gt;It&amp;rsquo;s unlikely I will be doing any development on the project myself,
however contributors are welcome.&lt;/p&gt;</description></item><item><title>Out of Eve 1.1 Released</title><link>/2008/11/25/out-of-eve-1.1-released/</link><pubDate>Tue, 25 Nov 2008 07:10:26 +0000</pubDate><guid>/2008/11/25/out-of-eve-1.1-released/</guid><description>&lt;p&gt;Hah. Only 3 months late.&lt;/p&gt;
&lt;p&gt;Out of Eve has been fully updated to Quantum Rise spec, the promised
journal feeds, API key security, and a number of other tweaks.
&lt;a href="http://www.outofeve.com/" title="Out of Eve"&gt;OutofEve.com&lt;/a&gt; has been updated
to the latest available version, and the source is &lt;a href="http://www.outofeve.com/about/" title="Out of Eve about page"&gt;available for
download&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Please leave any feedback in the comments of this post. I&amp;rsquo;ll set up a
proper OOE page on this site at some point, with download links and more
detailed information.&lt;/p&gt;</description></item><item><title>Out Of Eve 1.1</title><link>/2008/08/20/out-of-eve-1.1/</link><pubDate>Wed, 20 Aug 2008 20:27:30 +0000</pubDate><guid>/2008/08/20/out-of-eve-1.1/</guid><description>&lt;p&gt;As mentioned previously, I just wanted to outline a few plans for a new
&lt;a href="http://www.outofeve.com/"&gt;Out Of Eve&lt;/a&gt; version, mostly for my own
reference, as I&amp;rsquo;m finding it much easier to work toward goals which are
actually written down/typed up (lol?).&lt;/p&gt;
&lt;p&gt;Obviously first order of business is Empyrean Age compatibility. A
number of table and field names have changed and require some code
updates. Lots of icons have been added and updated, so I would also like
to make use of those. Unfortunately a number of images are actually
missing in the EA icon dump (drones, rookie ships), so a simple drop-in
replacement doesn&amp;rsquo;t works so well.&lt;/p&gt;</description></item></channel></rss>