-
Double quotes in INI files loaded with parse_ini_file
Posted on March 1st, 2010 No commentsWriting a bit of PHP tonight and found that if you use parse_ini_file to load an INI file in PHP, there is a slightly hacky way of having double quotes in strings. For example, I tried these: somevalue = "This " "string" " has quotes" somevalue = "This " string " has quotes" But none of them worked! Turns out a quick look at the PHP manual reveals a simple (but a bit hacky) solution to this is to define a constant e.g. QUOTE to be “, and use that in the INI string
Read more from the original source:
Sphere: Related Content
Double quotes in INI files loaded with parse_ini_file
EU, File, James, ad, amp, asgrim, coding, config, double, escaping, exam, fine, fun, function, http, in, ing, ini, light, load, me, no, one, parse_ini_file, php, php5, quote, quotes, setting, simple, solution, string, to, ua, value, work, www double, escaping, exam, File, having-double, ing, setting, simple, work -
Question: How does source control work in a non-distributed environment?
Posted on February 5th, 2010 No commentsAt our company we currently all work on one shared network drive. The source code is not under any kind of source control, which for me is a big no-no. I’d love to be able to set up SVN and us all work of separate repositories and just commit back to a trunk or branch, but our tech manager doesn’t agree.
Continue reading here:
Sphere: Related Content
Question: How does source control work in a non-distributed environment?
17, CVS, Eclipse, File, James, OS, SVN, amp, auto, change, check, code, coding, commit, company, control, fine, form, http, ical, in, ing, int, issue, linux, me, network, no, not, one, open, open to suggestions, problem, repository, scm, share, solution, something, source, tech, to, tom, ua, update, vcs, version, windows, work before-it-takes, check, commit, linux, network, situation, source-control, tech -
Eclipse, why do you make installing plugins so hard?
Posted on September 10th, 2009 No commentsEclipse PDT and Zend Studio are really nice editors for general use. Once they’re set up the way you want, they work mostly fine
See the article here:
Sphere: Related Content
Eclipse, why do you make installing plugins so hard?
100, 17, 5, Eclipse, General, IDE, James, Java, Manually, OS, Plug, Projects, Top, Zend, ad, amp, base, bug, check, code, coding, collabnet, development, editor, error, exam, extensions, face, fact, feature, fine, get, http, ice, in, install, interface, issue, list, me, mylyn, netbasic, network, no, not, one, pdt, php, plug ins, plug-in, plugin, plugins, project, software, solution, studio, test, to, type, virtual, when, work code, Eclipse, fact, mylyn-bridge, netbasic, plugins, project -
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 -
Windows 7 doesn’t seem to like zip files
Posted on August 30th, 2009 No commentsOn every other version of windows I've used over the last 12 years or so, you've always been able to double click a .zip archive, open it up like a folder and drag and drop any files you like out of it to anywhere else on your hard drive.

More here:
Sphere: Related Content
Windows 7 doesn’t seem to like zip files
17, 5, 64 bit, Chris, Class, Dan, File, Files, Google, ICO, OS, SQL, Windows 7, anyone, archive, book, bug, click, code, comment, double, fine, folder, hard drive, http, ical, image, images, in, include, internet, like, map, me, microsoft, mobile, mysql, no, not, one, open, post, posts, press, process, server, servers, smile, time, title, to, trac, windows, wp, www, zip archive, zip file, zip files code, Dan, double, folder, hard drive, mobile, permanent-link, posts, search options, time, trac, Windows 7, zip file -
HTML email with images broken in Windows Live Hotmail and Firefox
Posted on July 6th, 2009 No commentsIf you’ve ever had to design/build HTML emails for work or fun or whatever, you might have run into a bit of an issue getting your email to display consistently in the multitude of email clients out there. I tend to just test my emails in Gmail, Outlook, Windows Live Hotmail and occasionally Mac Mail. I used to only test in Windows Live Hotmail using IE as I was resigned to the fact that it never worked properly in Firefox – until now! I finally got hassled into finding a solution for the only issue we had left – a 3 or 4 pixel gap appearing in between all the images
See the article here:
Sphere: Related Content
HTML email with images broken in Windows Live Hotmail and Firefox
17, HTML, Hints and Tips, Hotmail, Jon, Mac, Mod, Web Design, base, baseline, browser, build, case, client, default, descenders, design, email, email clients, email with images, engine, fact, fine, firefox, first, fun, gap, get, gmail, hassle, html email, ical, image, images, issue, left, like, live, lowecase, mac mail, me, messenger, no, one, outlook, pixel, problem, quirks, solution, something, style, test, to, web development, windows, windows live messenger, work browser, engine, firefox, ical, images, multitude, second-option, standards-mode, windows -
Changing Project Types in Eclipse
Posted on May 27th, 2009 No commentsIf you created a project in Eclipse, but you created a regular “Project” instead of a particular project type (in my case, a “PHP Project” then there is a fairly easy way of fixing it. I had to do this to make a particular project work in the PHP Explorer (which for some reason worked fine on Windows version of Eclipse, but not my version…) Create a new project of the type you want to convert your existing project to
Read more:
Sphere: Related Content
Changing Project Types in Eclipse
17, Eclipse, File, James, OS, Projects, XML, air, build, buildSpec, case, change, changing, coding, comment, exam, explorer, feature, fine, fix, http, ical, like, me, modify, name, nature, new, no, not, one, open, pdt, php, place, project, regular, script, to, type, valid, validation, windows, work build, buildSpec, changing, coding, explorer, modify, open, pdt, place, Projects, remove-the-old, script, type, windows -
SSH on a PS3
Posted on April 29th, 2009 No commentsSo, not thinking about it, I tried to remotely SSH into Ubuntu on my PS3 today only to get a connection refused message. Turns out SSH isn’t installed by default on this distro (or poss with the settings I chose) so I had to use good old apt to install it: $hell> sudo apt-get install ssh It all installed fine, no config options required, and I can now connect from anywhere on the network - Woo

View post:
Sphere: Related Content
SSH on a PS3
5, Chris, Class, Connection, FAIL, Google, ICO, OS, PS3, Plug, SSH, blog, click, code, fine, get, home, http, image, images, include, install, linux, loaded, map, message, network, open, page, php, php5, plugin, plugins, post, theme, ubuntu, work, www all-installed, config-options, images, loaded, php, Plug, sudo-apt-get, today-only, ubuntu -
Setting Up Ubuntu PHP 5.2, MySQL 5.1 and Apache 2 on a PS3
Posted on April 27th, 2009 No commentsRecently I wanted a new development box/streaming media server for use around the house and for work.

Visit link:
Sphere: Related Content
Setting Up Ubuntu PHP 5.2, MySQL 5.1 and Apache 2 on a PS3
5, Chris, Class, Download, File, Files, Formats, Games, Google, ICO, IDE, LAMP, OS, PC, PS3, Search, Top, air, apache, blog, blogging, book, box, case, cd, centos, click, client, code, comment, data, development, fact, fine, firefox, flash, form, game, gaming, get, help, house, http, ice, image, images, include, install, jackelope, jaunty, laptop, linux, loaded, management, map, media, money, mysql, network, new, one, open, php, php5, player, post, price, process, rest, server, servers, service, sub, sync, system, term, time, ubuntu, when, work, www backup, File, game, gaming, images, include, LAMP, linux, map, price, PS3, time -
CIFS Not Unmounting On Shutdown?
Posted on April 10th, 2009 No commentsOn Ubuntu 8.10 (Intrepid Ibex) I always get an error something like this when I shut down: CIFS VFS: server not responding CIFS VFS: no response for cmd 50 mid 0 This started happening when I added a CIFS mount to our NAS box at home in /etc/fstab. Basically what is happening is that the wireless network interfaces (set up by NetworkManager in Gnome) are being shut down prior to the CIFS mount being unmounted, which causes a timeout trying to unmount… because there’s no network connection.
Read more:
Sphere: Related Content
CIFS Not Unmounting On Shutdown?
5, Connection, File, Files, IDE, James, Kill, OS, Read, Top, box, cifs, code, coding, comment, fine, hanging, laptop, linux, list, method, network, post, samba, script, server, share, simple solution, solution, something, source, system, technical, timeout, ubuntu, wireless, work, workaround box, cifs, Connection, File, Files, framework, intrepid-ibex, James, linux, network, nhs, shutdown, simple solution, source












































