From personal experience, you wouldn’t want to upgrade your production server’s PHP version directly to 5.3. PHP 5.3 included several important changes, and if it wasn’t because that UTF-8 is still not properly supported, it could have been called PHP 6.
[Read more…]
CakePHP: Assigning The Return Value of New By Reference is Deprecated
A few web applications has been returning this “Assigning the return value of new by reference is Deprecated” message after I’ve upgraded my local web server to run PHP 5.3. Don’t be surprise if your CakePHP 1.2 app suddenly shows this message. The fact lies in that php 5.3 included a few changes and some scripts are not written to be php 5.3 compatible yet.
[Read more…]
Sharepoint Developer Gets Good Money
I’ve been monitoring online jobs websites in the IT category since a year ago and there’s only 2 things I can observe happening again and again.
[Read more…]
Symfony First PHP Framework Supported on Netbeans PHP
PHP is fully supported in Netbeans since version 6.5. Shortly after Netbeans 6.7 was released, Symfony was the first php framework to be supported in Netbeans. Though it’s still in its early stages, it at least shows that Netbeans developers are serious about bringing popular php frameworks into Netbeans.
[Read more…]
How To Tidy Up and Reindent XML
I’ve been testing a few REST and SOAP web services API and all of them were returning XML in raw and unformated form. These data, while correct, were hard for any normal human to go through and make sense out of it. Instead of just reading this raw data, what I did was copy and paste it into another application so that I can read it properly.
[Read more…]
How To Collapse All and Expand All Source Code In Visual Studio
To collapse all classes/functions/subs, press CTRL + M, CTRL + O. And to expand them all again, just press CTRL + M, CTRL + P.
[Read more…]
How To Loop Through Textbox Text Line By Line In VB.NET
Here’s how you can read your text text by each new row. Say for example, the set of textbox text is something like this
insurance
mortgage
house
life
finance
where each new line is triggered by an Enter/Return key.
[Read more…]
What Are Canonical URLs?
So I was setting up a new wordpress blog and configuring the All In One SEO wordpress plugin when I came across this canonical url thingy which I haven’t been paying too much attention about. So what is that exactly? The short summary is that it’s a html tag you can enter in the
section that helps the search engines to determine which url they should be indexing if they can reach your site through different but similar url. Google Webmaster Central has a longer explanation which you can read here.How To Add Subdomains In Local Web Server
I use xampp to develop and test my websites applications (wordpress, cakephp, custom apps etc) locally on my own computer and was wondering how can developers add a subdomain such that tracking.localhost points to c:/xampp/htdocs/tracking. To get that done, you will need to touch some of Apache’s coniguration files and specifically the virual hosts’ config.
[Read more…]
How To Run Permut In Excel VBA Macro
Permut is an excel function that returns the number of permutations for a given number of objects that can be selected from number objects. A permutation is any set or subset of objects or events where internal order is significant.
[Read more…]