Download and install right version of ghostscript. In my case my PHP was x86 architecture, so I download Ghostscript 9.14 for Windows (32 bit)
.
This file contains 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 | |
/** | |
* Feed Fetch: Fetches feeds and caches them for a few hours. | |
* | |
* Copyright (C) 2007, 2013 Matthew Brown aka Lord Matt | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or | |
* (at your option) any later version. |
This file contains 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 | |
/** | |
* Apply a license of your choice to NucleusCMS blogs on an item-by-item basis. | |
* | |
* Copyright (C) ???? Graeme Cook, 2013 Matthew Brown aka Lord Matt | |
* | |
* This program is free software: you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by | |
* the Free Software Foundation, either version 3 of the License, or |
This file contains 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
SELECT nucleus_comment.*,count(recordID) as votes,sum(score) as score, TopScore | |
FROM nucleus_comment | |
INNER JOIN nucleus_plugin_modcomments | |
ON nucleus_plugin_modcomments.commentid=nucleus_comment.cnumber | |
INNER JOIN | |
( | |
SELECT * | |
FROM ( | |
SELECT commentid, COUNT( recordid ) AS freq, score AS TopScore | |
FROM nucleus_plugin_modcomments |
This file contains 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 | |
/** | |
* Giving myself more functionality over this bit | |
* | |
* @author byrd | |
* | |
*/ | |
class BetterXML extends SimpleXMLElement | |
{ | |
/** |
This file contains 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 | |
/** | |
* -------------------------------------------------------------- | |
* Contact Form To Email Demo | |
* Copyright (C) 2015 Lord Matt <lordmatt.co.uk> | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; either version 2 | |
* of the License, or (at your option) any later version. |
This file contains 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 | |
/* | |
Matt's Word Bingo generator script. | |
Copyright (C) 2017 Matthew D Brown | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. |
This file contains 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 | |
/* | |
* Problem | |
* ------- | |
* | |
* I needed a set of undefined size of card layouts on a 5x5 grid that were | |
* rotationally unique from each other. This data had to be as CSV lines in a | |
* file. | |
* |
This file contains 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 | |
/** | |
* This is an example of doing silly things with headers in WordPress | |
* | |
* @author Lord Matt <http://lordmatt.co.uk> | |
*/ | |
function fun_with_headers(){ |
OlderNewer