web analytics

Tutorial

30 web application security checklist

Web application security refers to the practice of securing web-based applications from cyber threats and vulnerabilities. With the increasing reliance on web-based applications for business and personal use, ensuring the security of these applications has become essential. Web application security involves identifying potential security risks, implementing security measures such as firewalls, encryption, and access controls, …

30 web application security checklist Read More »

Enable Disable Javascript Console Output easily for development and production

Web Developers use console to log debugging information from within the script primarily. Browser console is a great place and there are many available console methods to help a developer and also an end-user what’s going on in the script. A developer can output simple log messages for debugging to console along with warning, error …

Enable Disable Javascript Console Output easily for development and production Read More »

How to know if an installed program is 32 or 64 bit in windows 10 64 bit

If you have installed a program and forgot in which platform it runs (32 or 64 bit) and you now need to find it out, then this tutorial is for you.  Most of the programs now a days run on both of the platforms 32 bit and 64 bit. However, still there are few programs …

How to know if an installed program is 32 or 64 bit in windows 10 64 bit Read More »

How to read and write INI files in PHP?

INI files are simple text files with a basic structure consisting of sections, property and value. INI files can be used across different platform which is a great advantage as a single INI file can be used in various versions of the same application for various platforms. INI files are used to store configurations for applications in a manner of property = value. Values can be single or one dimensional array. Also sections can be used to group same type of configurations. The last thing is comments, we can write comments in INI files. Comments in INI files starts with ; (semicolon)

How to Save PHP Array in Database in PHP?

We will see how we can store PHP array in database. We will store the PHParray in database and we get it back, as PHP array. When we create management system or a CMS like application, we need to store a lot of configuration per user, per module etc. Multidimensional array is the best ever thing to work with in such situation. Configuration can be of two different types; searchable and not searchable. Searchable configurations are those which are used to filter a search result. For example various flags, tags, categories that we store with contents. We might need to filter contents with this flags, tags etc. No searchable configurations are like widget settings. We do not search for settings of an widget, rather we need those settings while rendering the widget.

How to read comment blocks into PHP array?

We might need to read comment blocks into PHP array. Comment blocks in php files describes a file & we might need this info in array. These comment blocks are not there just because the developer wanted to. These lines can be there as the system may require those lines to describe the file in terms such as the name of the theme or plugin, create date, author name, update date, version number etc. These information about the file then can later be used in the system or CMS.

RSS
Follow by Email
Scroll to Top