Blog

Technologies update by Atul Kumar, All related to website development.

cannot modify header information headers already sent [Solved]

No output before sending headers! Functions that send/modify HTTP headers must be invoked before any output is made. Otherwise the call fails: Warning: Cannot modify header information – headers already sent (output started at file:line) Some functions modifying the HTTP header are: header / header_remove session_start / session_regenerate_id setcookie / setrawcookie Output can be: Unintentional: Whitespace before <?php or after ?> UTF-8 Byte Order Mark Previous […]

Read More

Something you should know about PHP

PHP session timeout : Typically the default is 24 minutes (1440 seconds) Total Super Global Variables In PHP : 8 In PHP: == Operator checks only value of variables whereas === operator check’s value as well as data type of the variable. PHP Handles XML through the expat c library In PHP, the word “and” […]

Read More

Common Interview Question for Web developer 1

What industry sites and blogs do you read regularly? This question can give you an idea of how in-tune they are with the latest industry trends and technologies, as well as how passionate they are about webdev. It’ll help separate the people who do it as a career AS WELL as a hobby for those […]

Read More

HR Round Interview Question With Answer

Tell me about yourself (Most asked question) When asked by the HR Manager your response must be like this: “My career has been characterized by my ability to work well with diverse teams. I seek out opportunities to involve others in the decision-making process. This collaboration and communication is what has enabled me to achieve […]

Read More

Mysql Interview Questions

How many TRIGGERS are allowed on MySql table? MySql table allows following 6 triggers: -BEFORE INSERT -AFTER INSERT -BEFORE UPDATE -AFTER UPDATE -BEFORE DELETE and -AFTER DELETE Differentiate between FLOAT and DOUBLE. FLOAT stores floating point numbers with accuracy up to eight places and has four bytes while DOUBLE stores floating point numbers with accuracy […]

Read More

Object Oriented Interview Questions (C#)

What is object-oriented programming (OOP)? OOP is a technique to develop logical modules, such as classes that contain properties, methods, fields, and events. An object is created in the program to represent a class. Therefore, an object encapsulates all the features, such as data and behavior that are associated to a class. OOP allows developers […]

Read More

Cake PHP interview questions

What is cakePHP ? Cakephp is a rapid development framework for PHP that provides an extensible architecture for developing, maintaining, and deploying applications. It uses commonly known design patterns like MVC, ORM within the convention over configuration paradigm, It also reduces development costs and helps developers write less code. Why cakephp, and why not any other framework ? It has been four years in […]

Read More

PHP Interview Questions

What is PHP? PHP is a server side scripting language commonly used for web applications How to include a file to a PHP page? we can include a file using “include() ” or “require()” function with as its parameter. What’s the difference between include and require? If the file is not found by require(), it […]

Read More

Models In cakePHP

Read More

Introduction and installation of cakePHP

Hi, This is my first post for cakePHP.CakePHP is framework that makes building web applications simpler, faster and require less code. Here how we use it.(this post is for 1.2.x,1.3.x) Download CakePHP https://github.com/cakephp/cakephp/tags unzip the package to root folder. setp to installation 1) Create a database 2) Edit database setting (rename following file to database.php) […]

Read More