Implement Testing on Yii Framework 1
How to Implement Testing on Yii Framework 1 So you’ve finally realised to verify the quality of the code in […]
How to Implement Testing on Yii Framework 1 So you’ve finally realised to verify the quality of the code in […]
Initial Preparation First of all do a project in PHP that utilises the database. I am talking about pure PHP […]
So you are trying to test a solo PHP script on a webserver and it is not working? It is […]
It’s a New Year That means Instead of Saying 2014 on the bottom of your website it says 2014. copyright […]
PHP Application Level Package Manager: Composer What is Composer? Ever used apt, dpkg, yum? These are package managers for unix […]
This should apply to perl as well: Variable name: $myvar = ‘foo’; ${$myvar} = ‘haswell’; echo $foo RESULT ‘haswell’ Call […]
$var_str = var_export($data, true); $var = “$var_str”; file_put_contents(‘/var/some/location/on/server/value.txt’, $var);
Info from Stackoverflow if (isset($_POST[“mail”]) && !empty($_POST[“mail”])) { echo “Yes, mail is set”; }else{ echo “N0, mail is not set”; […]
More info can be found at davidwalsh $message = ‘Hello ‘.($user->is_logged_in() ? $user->get(‘first_name’) : ‘Guest’);