Blog posts tagged "php" – Posts 11..14 of 14 posts found:

Magento: Show address fields in account creation form

The Magento eCommerce platform hides the "address fields", including the customer's company name, by default. To enable them, most sources on the internet suggest overriding the register.phtml file and either commenting out the check to getShowAddressFields or to specifically call $this->setShowAddressFields (true);. That'll work, but it's not the proper way to do it. Read on the learn the proper way.
Read more

Hosting migration helpdesk blues

Web development is something I've been doing for the past 15 years, and it's been my day job for the past 8 years. I've also done quite a lot of server administration tasks since then, even if that wasn't part of my actual job description. While there's probably a good economic case for outsourcing hosting and support duties, it can get to be quite frustrating when things simply don't work as intended. This is even more the case when you're a more technically savvy user (and I count myself among those, even if I'm no guru) and you have to deal with a poor hapless tech. You know what it is needs to be done and they just don't seem to be able to do it.
Read more

array_slice is not confused about negative length

I enjoy reading the amusingly named www.phpwtf.org on the rare occasions that they add a new post. A recent post complains about negative lengths when using array_slice (actually confusing it with array_splice at one point). Unfortunately, a technical issue means the site doesn't currently accept comments, so I'll simply make a blog post out of my comment there. The info may still be useful to other PHP programmers.
Read more

PHP WTF?

Many blogs and sites spring up on the web promising frequent updates. More often than not, they post a handful of articles and then fall into neglect before dying a quiet death. Here's a site that seems to have potential, so let's hope it doesn't fall victim to this pattern.
Read more