Skip to main content

Posts

Mobile posting

I'm writing this post on my phone using the official Blogger android app... seems pretty basic, but handy nevertheless! More posts coming this week, if my workload cooperates.

Life as a Mac web developer

I have a terrible secret. For the last few months, I've been using a... Mac (gasp). Now I may be the only mac-user on this blue ball that isn't some sort of die-hard apple cultist. I think they're great (if over-priced) hardware, and I dig OSX. I don't think Steve Jobs is the second coming. I hate iTunes and iPods. I don't have an iPhone. I don't like black turtlenecks. But this does make a nice little web development machine. I have a command line (that's not DOS...) and a unixish OS. It has apache set up right away. It has a very nice UI, and there is some amount of "it just works" - although I'm not sure that's more true with WIndows. But it is more true than of even the best linux distros, at least in my experience. So, stay tuned and I'll point out some handy apps for any other web devs who've made the switch.

Empty $_POST array in MAMP

OK, so just spent 30 minutes debugging this. I'm now using a mac as my development platform for one of the sites I support. It's worked pretty well until today when I started adding a new feature. I ran into a weird problem where POST arguments were not being made available, either in $_REQUEST or $_POST - while GET arguments were. Thanks to this page , I was pointed in a useful directions. Turns out for some reason my version of MAMP had a max_post_size of "3200M" set in its php.ini file. That was not working too well - when I changed it to 32M, everything went back to working normally. So, perhaps that will help someone else who's driving themselves crazy!