-
cURL Tips – HTTPS requests
Posted on December 15th, 2009 No commentsToo many times have I seen this in cURL clients: curl_setopt ( $ch , CURLOPT_SSL_VERIFYHOST , false ) ; curl_setopt ( $ch , CURLOPT_SSL_VERIFYPEER , false ) ; Why is this bad? You leave yourself totally open to man-in-the-middle attacks, and makes SSL virtually pointless. Sure the data passed between the two servers would still be encrypted, but there is no way of verifying the server you’re talking to is the server you WANT to be talking to! My recommendation is that you verify the server is genuine by checking against the genuine CA certificate in PEM format.
See original here:
Sphere: Related Content
cURL Tips – HTTPS requests
17, 5, BT, IDE, James, OS, Read, Top, URL, ad, amp, api, blog, cURL, certificate, change, check, client, coding, data, form, format, fun, function, host, http, https, in, ing, int, internet, less, like, me, name, no, one, open, php, problem, request, server, servers, site, ssl, talk, time, to, tutorial, ua, verifyhost, verifypeer, virtual amp, check, cURL, fwo, internet, leave-yourself, open, passed-between, php, problem, Read, talk, tutorial, verifypeer -
Importance of User Agents
Posted on December 9th, 2009 No commentsWhen you write something that connects to a web server, what user agent do you use? Far too often have I seen things like: curl_setopt ( $c , CURLOPT_USERAGENT , "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" ) ; In my opinion you should always use a nice descriptive user agent that explains to the server exactly what your client may be trying to achieve, or at least a unique identifier
Continued here:
Sphere: Related Content
Importance of User Agents
17, 5, Google, IDE, James, OS, Read, Search, Top, Track, URL, ad, agent, amp, api, browser, cURL, client, coding, contact, data, e-mail, email, exam, get, help, http, https, ice, identify, import, important, in, ing, less, like, live, mail, me, media, message, new, no, not, one, oop, page, ping, post, request, script, server, servers, service, something, spam, string, term, to, trac, ua, user, user agent string, web, website, when, windows, www browser, coding, import, important, live, media, Read, user agent string -
Stop Forwarding E-Mails
Posted on December 1st, 2009 No commentsI get countless e-mails, and it makes it so much worse when I get absolute rubbish sent through to me from friends and family members alike. Let me quickly explain the top reason why you forwarding an e-mail is my problem. Have a look at the e-mail you’re forwarding
Originally posted here:
Sphere: Related Content
Stop Forwarding E-Mails
17, 5, Download, HTML, James, News, OS, Read, Someone, Technology, Top, ad, air, amp, anyone, case, chance, client, e-mail, family, field, forward, friends, get, home, http, ical, in, include, ing, int, internet, laptop, less, like, list, load, magic, mail, me, money, new, no, not, number, one, oop, personal, phone, post, problem, rant, scam, send, sister, software, something, spam, spending, spyware, test, thought, time, to, virus, warning, when, www amp, Download, gran, ical, personal, phone, Read, spam, thought, virus -
Olark-ing About…
Posted on October 2nd, 2009 No commentsOlark is a very neat new service from as US company called Habla, Inc. that lets you integrate a live chat box on your website directly with one of a number of common Instant Messaging clients.

Visit link:
Sphere: Related Content
Olark-ing About…
17, 5, Chris, Class, Freelancing, Google, ICO, IDE, OS, PS3, Read, SQL, SSH, Someone, Touch, action, ad, amp, anyone, apache, blog, book, box, case, cell, chat box, chat client, chat request, chrome, client, code, comment, custom, date services, development, direct enquiries, excel, extensions, get, hellip, http, ice, image, images, important, in, include, ing, interaction, left, like, linux, live, live chat, live web, me, media, message, messenger, microsoft, mysql, new, no, not, number, one, open, opera, page, php, pidgin, place, popup, post, posts, process, question, questions, request, rest, server, service, smile, solution, something, sw, system, talk, title, to, ubuntu, web, web development, web page, website, weeks, windows, windows live messenger, work, wp, www amp, apache, direct enquiries, microsoft, mysql, permanent-link, pidgin, question, rest, SSH, ubuntu, www -
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 -
Wordpress 2.8 automatic upgrade fails
Posted on July 4th, 2009 No commentsI’ve been trying to update my wordpress blogs from various versions like 2.5 and 2.7 to the newest 2.8 for a while now, but was never able to do it automatically. Every time I pressed the “upgrade automatically” button, it told me it was downloading the latest file from Wordpress, but it never got any further than that. I logged in to my site using my FTP client and found a 0KB sized file called wordpress2.8.zip in the wp_content folder, so I thought I’d found the issue – maybe the script can’t actually download the file and save it to disk because of permissions
Read more:
Sphere: Related Content
Wordpress 2.8 automatic upgrade fails
17, 1and1, 5, AddType, Download, FAIL, File, Files, Hints and Tips, Jon, Mod, OS, RDP, Search, Wordpress, apache, auto, blog, change, client, comment, config, content folder, default, first, folder, ftp client, host, ical, install, issue, joy, like, load, loaded, map, me, new, no, one, php, php5, post, problem, running, script, scripts, server, servers, share, solution, test, thought, time, to, type, update, upgrade, upload, word, work, zip file Hints and Tips, hosted-on-1and1, loaded, Mod, running-on-php5, script, type, work -
Ubuntu One – Taking Linux To The Clouds
Posted on July 4th, 2009 No commentsI opened Google Mail on my HTC Magic this morning to find a lovely invitation to the Ubuntu One beta, woot. So I grabbed my shiny Sony Vaio laptop and fired it up, and got straight on with it

Go here to read the rest:
Sphere: Related Content
Ubuntu One – Taking Linux To The Clouds
17, 5, Class, Download, File, Files, Google, ICO, James, Manually, OS, RDP, Someone, Technology, Top, Wordpress, air, backup, click, client, cloud, computer, computing, cool, cost, feature, firefox, first, get, htc magic, http, image, images, include, install, laptop, live, load, login, me, morning, network, no, one, open, page, personal, process, request, share, simple, smile, storage, sync, time, title, to, tools, ubuntu, ubuntuone, upload, web, word, work, www certain-things, cool, Download, Files, firefox, htc magic, include, James, live, packages, personal, ubuntuone, work -
JavaHL Not Available: Solution
Posted on May 7th, 2009 No commentsWhenever I tried to get CollabNet for Eclipse plugin working in Eclipse PDT, it always failed, yielding the error “Unable to load SVN client” upon any SVN activity. I did endless amounts of Googling to try to solve the problem, but always came to a brick wall. The big problem here is that Eclipse is just too new for Ubuntu - even Jaunty.
Continued here:
Sphere: Related Content
JavaHL Not Available: Solution
17, 5, Download, Eclipse, FAIL, File, James, Java, Plug, Read, Revision, SVN, air, available, cd, client, coding, collabnet, compile, get, http, ical, install, jaunty, javahl, less, load, me, new, not, one, open, pdt, plugin, problem, solution, something, sub, subversion, test, time, to, trac, ubuntu, unable, update, when, work client, compile, correct, FAIL, File, James, javahl-bindings, open, pdt, plugin-working, steps, subversion, SVN, work -
Bloody MySQL Bugs
Posted on May 6th, 2009 No commentsI’m looking to setup some replication between two servers and server B has none of the databases server A has, so obviously I have to populate B with A’s data. Easy you might think, simply start the slave and issue some like: mysql> load data from master; But actually, in my case, this fails because of the following bug when loading master data and the fact that views exist on server A As it says here http://bugs.mysql.com/bug.php?id=20596 [30 Aug 2006 20:36] Trudy Pelzer Since the current implementation of LOAD DATA FROM MASTER and LOAD TABLE FROM MASTER is very limited, these statements are deprecated in versions 4.1, 5.0 and 5.1 of MySQL. We will introduce a more advanced technique (online backup) in a future (> 5.1) version, that will have the added advantage of working with more storage engines.
See the original post here:
Sphere: Related Content
Bloody MySQL Bugs
5, Chris, Databases, FAIL, File, Google, OS, PC, PS3, air, apache, base, book, box, bug, case, click, client, code, data, development, double, fact, fun, http, issue, key, linux, map, me, media, multiple, mysql, new, number, one, output, pain, php, post, posts, server, servers, short, solution, test, time, ubuntu, view, views, when, work, www apache, base, case, data, FAIL, issue, mysql, solution, sun, view -
MySQL 5.1.34 Upgrades on CentOS 4 – ho hum
Posted on May 5th, 2009 No comments5, Chris, Class, Download, File, Google, ICO, Manually, OS, PS3, Program, Top, apache, base, book, box, bug, cd, centos, click, client, code, data, development, double, fun, get, http, ical, ice, image, images, include, install, issue, key, linux, loaded, map, me, media, multiple, mysql, name, new, one, pain, php, post, posts, process, server, share, software, something, system, term, test, time, ubuntu, when, work, www apache, bug, centos, double, images, multiple, mysql, posts, Program












































