2016 Oct 01 By Dusko 0 comment
This entry is part 1 of 2 in the series PHP Programming

I often use function safeEscapeString fromĀ  in my PHP projects. It helps sustain the integrity of data coming to and from MySQL or similar database. However, if the code ran on PHP 5.4 or 5.6 at the highest, and I wanted it to run PHP 7.0, the latest and greatest version of PHP. When the error reporting is turned on, a fatal error in code will appear. The solution is to use the recommended function mysqli_real_escape_string, which takes two parameters, the link and the string to sanitize. $temp2 = mysqli_real_escape_string($link, $temp2); Since I had not had a special link to…

2013 Dec 16 By Dusko 0 comment

What would be the best software to build a site with members, forums and chat? Here is my answer. You have many options and here I will outline just a few. 1) Use WordPress It is the most popular CMS (Content Management System) in the world, with some 15% of all sites built on it. It is easy to install, easy to setup (it gets a little technical but you will have dozens of sites to help you out immediately), and you can all do it on your own. Basic WordPress will not do what you want now, but you…