-
isset fail
Posted on April 8th, 2010 No commentsSrsly PHP, why can’t I do this: $value = isset ( $myGPCWrapper -> Get ( "value" ) ) ? $myGPCWrapper -> Get ( "value" ) : $default ; Resulting in this: Fatal error : Can’t use method return value in write context in /path/to/my/script.php on line 21 And instead I have to do this: $foo = $myGPCWrapper -> Get ( "value" ) ; $value = isset ( $foo ) ? $foo : $default ; or $value = isset ( $_GET [ 'value' ] ) ?
Read the original:
Sphere: Related Content
isset fail
-
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 -
QR Codes Are Great!
Posted on October 18th, 2009 No commentsRecently I saw a symbol on the side of the pepsi can that looked something like this and all it said with it was want to know more... visit us, with some url back to pepsi's website

Link:
Sphere: Related Content
QR Codes Are Great!
17, 5, Chris, Class, Dan, Download, File, Google, HTML, IDE, Misc, OS, Read, Touch, URL, Universal, ad, amp, api, bar code reader, blog, book, browser, chrome, click, code, code readers, cutt, day, device, double, game, get, host, hosting, http, ical, ice, image, in, ing, install, internet, light, like, load, map, market, marketing game, me, mobile, mobile phones, new, new marketing, no, nokia, nokia e71, not, one, parent, pepsi, phone, php, php5, post, posts, qr code, qr codes, reader software, rest, scan, software, something, talk, thought, title, to, type, upload, web, web development, website, when, world, wp, www book, Class, download-class, game, internet, light, marketing game, mobbler, mobile, mobile phones, nokia e71, pepsi, phone, Touch -
Lookin’ Good: Two Practise ZCE Tests Passed
Posted on August 25th, 2009 No commentsAs some of you may know, back in March/April time, I started revising for my Zend PHP5 Certification, but that was pretty much put on hold when we had a baby… now I’m revising again and after having revised a couple of topics I retook the test. As you can see, I passed it “with flying colours” this time, but still have improvement to do with Streams and Design patterns… Comparing with my last test: 2 categories remained the same; Database access Web features) 4 categories improved; PHP 4/5 Differences (was FAIL) Security (was PASS) String Manipulation and Regular Expressions (was PASS) Functions (was PASS) 2 categories declined; Streams and Network Programming (was PASS) Design (was EXCELLENT) [eep - not so good that!] I think overall however, these statistics shouldn’t be examined too much – there are some questions I can guess and don’t demonstrate that I truly *know* some topics, so I’m going to cover off a few categories I don’t feel to confident on anyway – but then the practise tests are just indicators, and not meant to represent the final exam… we’ll see!

Original post:
Sphere: Related Content
Lookin’ Good: Two Practise ZCE Tests Passed
17, 5, Class, FAIL, IDE, James, Program, RDP, Top, Wordpress, Zend, baby, base, cell, certification, coding, data, database, design, exam, excel, expressions, feature, fun, functions, http, image, in, live, load, me, network, no, not, php, php5, practise, present, press, programming, question, questions, regular, security, string, test, time, title, to, upload, web, when, word, work, wp, www, zce certification, coding, design, excel, FAIL, feature, final, having-revised, James, live, practise, questions, some-topics, web -
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 -
Installing Zend Framework 1.8.x on Ubuntu 9.04 (Jaunty Jackalope) using SVN
Posted on May 20th, 2009 No commentsWith the release of the 1.8 series of Zend Framework, I felt the need to update this article , especially due to the entirely new project setup process provided by Zend_Tool. Again, we start with installing the LAMP stack if you haven’t done so already: sudo tasksel install lamp-server So now you’ve got your LAMP stack up and running, lets download the latest SVN tag of Zend Framework. At the time of writing, the latest stable is 1.8.1, which I’ll use here
More:
Sphere: Related Content
Installing Zend Framework 1.8.x on Ubuntu 9.04 (Jaunty Jackalope) using SVN
17, 5, Download, File, Files, HTML, IDE, Ibex, Intrepid, James, LAMP, Manually, Mod, RSS, Read, SVN, Top, Zend, apache, auto, browser, cd, default, exam, folder, form, framework, get, http, ical, include, information, install, like, list, load, management, me, media, name, named, new, no, one, open, output, personal, php, php5, process, rest, running, script, series, server, share, software, sub, tasks, term, test, time, to, ubuntu, update, work, www apache, article, default, include, laughed-today, Manually, named, release, SVN, term, time, work, Zend -
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 -
Retirement Planning
Posted on March 11th, 2009 No commentsPlanning for your retirement and old age can be a very worth while exercise, yet most people leave the task until way too late in life. Retirement may seem a long way off now, but what will you do if you reach retirement age and find you have no means to support yourself or your loved ones over the 20 or 30 years that follow leaving your job?
Go here to read the rest:
Sphere: Related Content
Retirement Planning
5, ALA, Chris, FAIL, Google, IDE, OS, Plug, Revision, SSH, Someone, Top, XML, air, api, auto, baby, blog, book, break, browser, code, crisis, diversions, explorer, form, help, home, http, ice, include, information, internet, job, left, life, list, live, loaded, map, microsoft, name, new, one, open, page, php, php5, place, plugin, plugins, post, question, script, service, source, split, style, sub, tables, theme, time, trac, valid, view, web, website, when, word, world, www ALA, auto, colorful-list, light-grid, list, open, style, web -
On The Way To A Zend PHP5 Certification
Posted on February 16th, 2009 No commentsIf you follow my Twitter , then you already know that I’m intending to get a Zend PHP5 Certification. I’ve started off by ordering the Php|architect’s Zend PHP 5 Certification Study Guide from Amazon as I read an excerpt from that the other day and found it to be generally quite good.

View post:
Sphere: Related Content
On The Way To A Zend PHP5 Certification
5, Amazon, Class, General, IDE, James, OS, PC, RDP, Read, Wordpress, Zend, certification, code, coding, exam, left, php, php5, post, study, twitter, upload, word, www city, experiences, generally-quite, guide, James, personal, php, purchase, really-good, short-film, study-guide, take-the-test, twitter, www












































