Posts Tagged ‘PHP’

OpenInviter and UTF8 encoding January 17, 2011 3 Comments

If you need to import contacts from other services there is quite good cheap solution for PHP – open source library www.openinviter.net. It supports a huge amount of services and that’s awesome. There is nice auto-installer and documentation. Here I just want to discuss an issue that you can experience – incorrect encoding of russian […]

 

Using arrays in form element names July 27, 2009 1 Comment

Sometimes there is variable number of similar elements on a form. For example, phone numbers. To iterate all filled values on the server it will be nice to use arrays. And form element naming allow it: … Using PHP it’s easy to iterate through those values now: foreach ($_POST[‘phone’] as phone) { // do something […]

 

Unlimited products in stock in osCommerce April 2, 2009 1 Comment

Strange that this option isn’t available in osCommerce. Maybe I missed something but there is only ability to set number of products in admin – no option to set it for unlimited number. What if I sell service? It’s definitely unlimited (well until I’ll be in business). Of course, the easiest way will be run […]

 

Installing GD on Mac OS Leopard October 28, 2008 No Comments

Found a great article how to do this – Install GD for PHP on Mac OS X 10.5 Leopard. Thanks, Chris!