-
Handling CType Data With SimpleXML in PHP
Posted on January 15th, 2010 No commentsIf you're new to SimpleXML then the output and representation of complex XML data produced by the library can be daunting and sometimes confusing, but once you're used to it, SimpleXML is a massively useful tool for processing XML information. When debugging other people's implementations of simpleXML however, one of the biggest issues I come across time and again is the apparent loss of CType data from the processed feed. Luckily this is very easily remedied, but not well documented so here's how to deal with it.

See more here:
Sphere: Related Content
Handling CType Data With SimpleXML in PHP
5, 9 times out of 10, Chris, Class, Ctype Data, Google, ICO, IDE, LAMP, OS, Projects, SQL, Search, The List, XML, ad, amp, apparent loss, book, bug, bugs, case, cd, change, click, code, cool, data, debug, default, double, field, form, format, fun, function, functionality, functions, http, image, images, in, include, information, ing, int, issue, libxml, like, list, load, map, me, method, mysql, name, new, no, not, object, one, output, override, parent, parsed xml, personal, php, php 5, post, posts, present, presentation, process, project, recipe, rest, script, scripts, server, servers, simple, simpleXML, smile, string, time, title, to, type, ua, web development, when, word, work, wp, www book, easily-remedied, field, ing, map, output, present, recipe, rest, server, underlying, word -
Importing CSV into MySQL table
Posted on October 6th, 2009 No commentsA quick tip – you can import a CSV into a MySQL table pretty easily. The file must exist on the server and you must create the table first, but this command will import your CSV into a MySQL table easily: LOAD DATA LOCAL INFILE '/tmp/data.csv' INTO TABLE `data _ table` FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY ' n ' ;
Read this article:
Sphere: Related Content
Importing CSV into MySQL table
-
Changing The Default Search Engine in Firefox Back To Google or To Something Else
Posted on September 6th, 2009 No commentsWhen you type keywords into your Firefox address bar and hit enter it usually goes off and searches a particular search engine for you. e.g.
View post:
Sphere: Related Content
Changing The Default Search Engine in Firefox Back To Google or To Something Else
17, 5, Chris, Google, IDE, Mac, OS, PS3, SQL, SSH, Search, URL, amp, apache, applications, book, box, browser, browser search, case, change, changing, chrome, click, code, config, default, default options, default search engine, development, double, double click, engine, filter, fine, firefox, fix, google co uk, google search, hanging, http, http www google com, in, install, iso 8859, key, keyword, keyword searches, linux, map, me, media, microsoft, mistake, mysql, new, no, not, one, open, opera, php, place, post, posts, replace, rest, search options, search url, server, software, something, system, thought, time, title, to, type, type keywords, ubuntu, value, web, when, windows, word, www box, chrome, config, double, from-the-google, google co uk, mysql, permanent-link, search options, server, thought -
MySQL HA
Posted on August 19th, 2009 No commentsWe're currently in the process of splitting our websites out onto pairs of servers for High Availability, unfortunately MySQL is pretty poor when it comes to this, its replication facilities leave a lot to be desired and often fall out of sync.
See the original post:
Sphere: Related Content
MySQL HA
Kelvin, SQL, Uncategorized, air, blog, fix, help, high, http, in, me, mysql, no, process, script, scripts, server, servers, split, sync, to, tutorial, web, website, when availability, good-tutorial, help-fix, its-replication, Kelvin, mysql, script, scripts-called, server, split, sync, the-process, websites -
Ubuntu: Trac Broken After Ubuntu Upgrade
Posted on May 13th, 2009 No commentsIf you’ve recently done an upgrade or dist-upgrade (as I did) on your Ubuntu server and it broke Trac with 500 errors, then this might be the solution for you… If you’re seeing something like this in your Apache error.log: No module named trac.web.modpython_frontend Then what has probably happened is Python was upgraded to a more recent version.
Go here to see the original:
Sphere: Related Content
Ubuntu: Trac Broken After Ubuntu Upgrade
17, 5, James, Manually, Mod, PC, apache, coding, dist-upgrade, error, fix, howto, http, install, like, me, mod_python, modpython_frontend, module, name, named, no, one, python, server, simple solution, solution, something, to, trac, ubuntu, upgrade, web, work apache, dist-upgrade, fix, James, location, Mod, named, python, recently-done, server, solution, the-solution, upgrade, upgrade-or-dist -
Zend Server Released
Posted on February 21st, 2009 No commentsOK, so far all that I’ve managed to do is install it and have a dabble with the config pages and go “oooh that looks pretty”, so this isn’t a hardcore review or anything. Zend have unveiled their newest product, Zend Server… which is essentially Zend’s own W/M/LAMP stack, but with Zend Framework and other components Zend have written, including the very handy Zend Debugger.

Excerpt from:
Sphere: Related Content
Zend Server Released
5, Administration, Class, Eclipse, File, Files, IDE, James, LAMP, Mod, OS, RDP, URL, Wordpress, Zend, box, code, coding, cool, data, development, framework, include, install, left, page, pdt, personal, php, process, rant, server, studio, test, upload, view, wamp, web, web development, word, work, www Class, include, pdt, php, rant, RDP, server, work -
Mod rewrite URL with 2 question marks?
Posted on February 10th, 2009 No commentsA colleague asked me for some help with a few RewriteRules in his .htaccess today.
More:
Sphere: Related Content
Mod rewrite URL with 2 question marks?
Hints and Tips, Jon, Mod, RewriteCond, RewriteRule, RewriteRules, URL, apache, colleague, condition, fact, file folder, job, legit, query, query string, querystring, question, question mark, question marks, request, request url, rewrite rule, server, simple solution, web development, workaround, www albums, Amazon, amazon co uk, apache, combination, note-the-extra, query, question, request, requested, rewrite, RewriteRules, server -
MySQL 5.1 multiple tmpdirs and incorrect key file for table errors
Posted on January 22nd, 2009 No commentsWell I found out a few new things today... Firstly if you see an error similar to this: Incorrect key file for table '/tmp/#sql_913_4.MYI'; try to repair it It's likely you've got a dodgy query that is creating a temp table so big it's maxing out all your available temp filesystem space. Secondly if you try to get round this by throwing disk space at the issue then you'll come unstuck
Originally posted here:
Sphere: Related Content
MySQL 5.1 multiple tmpdirs and incorrect key file for table errors
-
New Shiny VPS
Posted on January 7th, 2009 No commentsA little while ago I posted about Slicehost , who provide Virtual Private Servers (VPS) in USA for pretty good VFM. My SVN repository and muck-around LAMP environment has been hosted on my laptop for a few weeks now, but Hannah wants the laptop back so I did some investigation into getting a VPS. I’ve settled on Linode , who are similar but I think are better VFM.
Excerpt from:
Sphere: Related Content
New Shiny VPS
17, 5, IDE, James, LAMP, OS, SVN, Top, buying, cd, click, code, coding, copy and paste, cost, credit, form, get, hannah, host, hosting, http, ice, laptop, linode, money, new, one, personal, php, post, server, servers, slicehost, videos, virtual, virtualisation, vps, web, weeks, when, www, xen account, buying, code, coding, copy and paste, credit, hosting, images, James, registration, server, slicehost, URL, user, www -
First… no – Second Snow of the Year
Posted on December 11th, 2008 No commentsIt’s December, and I know I’m clutching at the thinnest straws possible, but it really did snow here… Only a miniscule amount, and it’s all gone now, but it was there briefly! Admittedly, this wasn’t the first snow of the year, because that was back in April , an that was much heavier. Anyway, we went into work this morning only to find that I was being sent home due to the deadly Manflu virus that I caught - probably from my little nephew Finley! So today, I’m working at home, and I’m having a little rest for lunch, whilst constantly increasing the thermostat temperature so it doesn’t get too cold

Read the original here:
Sphere: Related Content
First… no - Second Snow of the Year












































