Archive for November, 2007
Friday, November 16th, 2007
I'll be honest, this isn't very useful. The goal was to have an array of months in the least amount of code.
for($i = 1; $i
Posted in php | No Comments »
Wednesday, November 14th, 2007
Perhaps you'd like to just sent XML over post, and not have xml=your_nodes_and_stuff_here. No sweat.
$xml = urldecode(file_get_contents('php://input'));
Enjoy.
This can now be called with:
curl -d "some_xml_here" http://yoursite.com/pagename
Posted in php | No Comments »
Tuesday, November 13th, 2007
I'm setting up my first mysql cluster, and just wanted some clarification on a few things.
In the manual, it says:
Online schema changes. It is not possible to make online schema changes such as those accomplished using ALTER TABLE or CREATE INDEX, as the NDB Cluster engine does not support ...
Posted in cluster, mysql | No Comments »
Tuesday, November 13th, 2007
If you have a URL like the following, and you're using multiviews:
/login/15/return_page%2F50
it won't work. FYI, the last part is a return page. In this instance, lets just pretend it's a return page that's supposed to get hit after a successful login.
Using Apache 2.2.3.
Posted in apache | No Comments »
Friday, November 9th, 2007
In trying to get a site working on cell phones, I got a "406 Not acceptable" only on the Motorola RAZR. The site loaded fine on my Treo 755 and every Blackberry I've tried.
It seems that the RAZR doesn't handle Multiviews very well, or at all for that matter. ...
Posted in apache, mobile, php | No Comments »
Thursday, November 1st, 2007
I ran into an issue trying to get Imagemagick (convert) working on OSX last night. I had compiled libjpeg and installed it, but when I would compile convert, it would not have jpeg support.
I found this post on dzone, which I followed and was able to use libjpeg just ...
Posted in mac, tips | No Comments »