Posts Filed in "PHP"

13

Mar

Filed in Other, PHP with View Comments |

I found a couple bugs tonight on PasteThat, by the time I was done correcting them I had redesigned the site, updated the syntax highlighter (strangely enough, which now supports 1/3 the languages it used to), and added several new features.

29

Feb

Filed in Code, PHP with View Comments |

I’ve updated PasteThat to include support for files (including images) and links. It will soon replace my image hosting site (NukeAfrica). The site allows you to upload files up to 5 megs in size (right now) and if it’s an image will do some extra handling. The templates around the file/link hosting are still fairly [...]

31

Jan

Filed in Code, Curse, PHP with View Comments |

We’ve been working on our central authentication service at Curse lately, so we just began porting it’s libraries to PHP. We plan to deploy it across all sites (specifically the vBulletin forum sites) very soon. In order to achieve a working library in PHP, we needed some HTTP utilities. We didn’t want to create dependencies [...]

14

Nov

Filed in Code, PHP with View Comments |

So today, being the usual day, I needed a pastebin, that wasn’t slow, or bogged up with ads and stuff. I hopped on over to dpaste.com as I usually would, to find that the domain was temporarily expired (it’s back up now). Being that the site was down for a little bit, and the project [...]

5

Nov

Filed in How-To's, Mac, PHP with View Comments |

Apple made it easy this time around. Leopard defaults with Apache2 and PHP5, and enabling it is as simple as uncommenting a line. Check out this guide for a full tour of using Apache2 with PHP5 and MySQL on the latest release from Apple.

6

Aug

Filed in Code, PHP with View Comments |

Today I undertook the challenge, or rather the lack-of, of integrating the MediaWiki userbase with Vanilla’s forum software. This provides the nice ability to run MediaWiki and Vanilla forums without having two distinct authentication systems. It’s also a nice way of making people apply for access to edit the Wiki Because WordPress is horrible with [...]

1

Aug

Filed in Code, PHP with View Comments |

One big thing with large sites is optimization, and a major factor in most sites is SQL. In the end, all optimization methods begin, and most likely end, with a caching solution. While disk caching is not the only solution, in my opinion, for most situations, it is the best solution. With Nibbits I was [...]

21

May

Filed in Code, PHP with View Comments |

bool resampleImage(string input, string output, [int width], [int height]) string input is the source filename string output is the output filename int width is the maximum new width (defaults to 150) int height is the maxium new height (defaults to 100) You can download the resample image source here. Have fun

« Previous Page