Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - CJ Jackson
106
The Pub / Re: Wedge on lighttpd or nginx
« on June 30th, 2011, 05:17 PM »
As for IIS7, it has url rewrite and web.config, also it has a converter that convert mod-rewrite to url rewrite rules, so it should work on IIS7 with no problem.
107
Off-topic / Re: PHP IDE for windows
« on June 24th, 2011, 12:37 AM »
Quote from Aaron on June 24th, 2011, 12:10 AM
I honestly just use vim most of the time. Steep learning curve, but quite the tool once you've gotten used to it, really. :)
Very useful skill, especially for maintaining FreeBSD system, it uses vim as default text editor :) but it not something I would use for PHP though. :lol:

I use NetBeans IDE for PHP, I gotta love the fact that it can generate setters and getters for properties in a class, I find that feature quite useful, especially for building Object Relational Mapping.
108
Off-topic / Re: PC hotline
« on June 22nd, 2011, 03:52 PM »
The ClearType on Windows 7 is different to the one on Vista and XP.

http://blogs.msdn.com/b/e7/archive/2009/06/23/engineering-changes-to-cleartype-in-windows-7.aspx

Anyway there is a trick that allows you to use your own font in the command prompt, but it requires registry editing.



As you can see. I'm using Droid Sans Mono.

Speaking of PT Sans did you look at my blog lately?
109
Off-topic / Re: htmlspecialchars while inserting into DB
« on June 21st, 2011, 01:27 AM »
I think I might overlooked magic quote, so magic quote might of been causing double escape? :lol:
Posted: June 21st, 2011, 12:55 AM

Just to make you feel better Pete, I did not break the content, WordPress did, it got a magic quote feature of it's own. How nice!  :lol:
110
Off-topic / Re: htmlspecialchars while inserting into DB
« on June 20th, 2011, 10:46 PM »
Only while outputting to the browser!  Yes it does take care of escaping and security, prevent SQL injection if written properly!  Also the data that comes out of the database tends to be dirty, it like to keep the back slashes, so clean it with stripslashes() and always before htmlspecialchars().
111
Off-topic / Re: htmlspecialchars while inserting into DB
« on June 20th, 2011, 10:35 PM »
I never used mysql_real_escape, I always used prepared statement because I find them a lot easier.

I always used htmlspecialchars for data that goes in a html attribute, I rarely use them for anything else.
112
Off-topic / Re: Simple & Effective URL Routing System
« on June 20th, 2011, 03:49 PM »
I just updated to script, added rtrim($self, '/'), what I was thinking? forgetting to escape the trailing slash!

Did you try out IIS 7.5 on Windows 7 yet?
113
Off-topic / Simple & Effective URL Routing System
« on June 20th, 2011, 12:52 AM »
http://cj-jackson.com/2011/06/19/simple-effective-url-routing-system/

What do you guys think about the script?  :)
114
Off-topic / Re: Does anyone else love mechanical keyboards?
« on June 19th, 2011, 12:34 AM »
What wrong with rubber domes?   I don't seem to have a problem with them, especially with the newer ones.
115
The Pub / Re: Interesting site
« on June 19th, 2011, 12:29 AM »
Whatuppppppppppppppppppppppppppp?
116
Off-topic / Re: A PHP fork?
« on June 17th, 2011, 05:04 PM »
Quote from Arantor on June 16th, 2011, 05:48 PM
And you're explicitly distrusting the original contents in favour of something more reliable. ;)
I wasn't too sure about jQuery.getJSON(), does it rely on HTTP POST or GET?  (I notice postJSON() doesn't exist.)
117
Off-topic / Re: A PHP fork?
« on June 16th, 2011, 05:41 PM »
Quote from live627 on June 16th, 2011, 01:24 AM
$_REQUEST = $_GET + $_POST
I did that with my plugin, except I called it $param, because I'm used to the word param. ($param = array_merge($_GET,$_POST)).
118
Other software / Re: 2.0 in download area
« on June 12th, 2011, 12:15 PM »
Nice, now you can do anything with it, but you can't use the name SMF (or it contributors) to promote Wedge without their permission.
119
Off-topic / Re: PC hotline
« on June 11th, 2011, 11:20 PM »
That good to here, data recovery cost is expensive.  You may want to invest for a Blu-Ray rewriter, or just use DVD rewriter if you already got that.
Posted: June 11th, 2011, 11:13 PM

I had a Seagate drive with a buggy firmware known for bricking itself which it did, it's had all my photos and luckily I was able to fix it and update the firmware, I had to buy a USB to TTL Serial Cable to do that.  I just made a backup copy of all my photos and put it onto a DVD.

http://www.mapleleafmountain.com/seagatebrick.html

I still got the hard drive and is working perfectly fine with a new firmware, so far so good it didn't brick itself again. I hope not.
120
Off-topic / Re: PC hotline
« on June 11th, 2011, 10:13 PM »
I build my own system and now you know why! I hate prebuild system, there always a catch in those system.  At least your system specification is awesome!