How to call a PHP function (with parentheses)

How to call a function in PHP A reader of my blog recently emailed me, asking me to check over some PHP code Nothing works from my php file except just connecting to the database It’s simple code – I’m not doing anything fancy So here’s the PHP code supplied: function getConnection( ) { $host=”host”; […]

Help for avoiding undefined index notices

If you are just starting out with PHP, you may come across this message: Notice: Undefined index: username in C:\wamp\www\mysite\index.php on line 99 Even if you’ve been coding for years you can still get this message! You may be confused as to what an “Undefined index” is? Often seen when trying to access global server variables […]

How to protect your PHP source code as a freelancing web developer

How to protect your PHP source code?  You might be worried about giving away your secret sauce  or having it reverse engineered. Another good reason for wanting to protect your code is delivering the code to a clients server / hosting before final payment has been made for the development of the code. I have […]

What is the minimum amount of time I should charge as a Freelance Web Developer?

Your clients are calling you, emailing you, sending in small requests… Can you change this? Can you change that? Sometimes the changes are so small, barely 5 minutes that you feel guilty for charging your “valuable” clients. Well you shouldn’t feel guilty! You are in business and you are selling your time and your clients are […]

How much should I charge hourly as a PHP Freelance Web Developer?

How much should I charge hourly as a PHP Freelance Web Developer? Working your own hours as a freelancer can be great with regular work coming in. But you need to make sure you are making ends meet and covering your costs. You might be considering switching from full-time paid employment to freelance or some […]

Looking to hire a PHP developer, then test them out!

If you are looking to hire a PHP developer, then test them before an interview, in the interview, or if you are unsure about hiring a new freelance developer, test them with a small project first, minimize your time and risk and save yourself potential headaches in the future… You can get cheap shitty programmers […]

8 things to consider when hiring a Freelance PHP Programmer

When hiring a Freelance PHP programmer, you can easily be inundated with choices on sites like Elance / ODesk and Freelancer.  So if you need some help narrowing down the choices consider the following points: Price, do you really want the cheapest PHP programmer in the world?  What value will that give you? Consider paying […]

Why you shouldn’t use the CodeIgniter PHP framework… directly

There is a lot of discussion about which is the “Best PHP framework” and there are many good ones to choose from Laravel, Symfony, CodeIgniter, CakePHP, Yii, to name a few off the top of my head.  There are many different answers about which may be “best” depending on your needs and the use case. […]

How to protect your PHP source code with encryption?

Worried about giving away your PHP source code? Want to protect your code when delivering it to a clients hosting when it’s not paid for yet? I know as this has happened to me. I found a delivery of PHP code for sign off encrypted, I hadn’t seen that before. When we asked the company […]