Skip to main content

About

My name is Nilesh Patil, I am a web developer. I know HTML, CSS, JQuery and PHP. I have also worked with frameworks Codeigniter and Yii2. PHP is language in which more than 80% websites are developed. Anyone who wants to become a web developer, he should know basic of HTML,CSS ,Javascript , MySQL and PHP. Here I am sharing code which often needs while developing.

Popular posts from this blog

Web Development

                         Web development means creating websites. Websites can be accessible on Internet. Website is collection of web pages. It may contain any information, images, videos, forms. Web pages can be created by using a programming languages.  There are 3 main parts of web development 1. Client side scripting - It includes code which runs at browser side. It is user interface. What will user see and how will he interact with system is designed here. Languages includes in client side scripting : HTML CSS Javascript JQuery 2. Server side scripting - It includes code which runs at server side. User sends a request to server, server will process on it and send response to browser. Server side scripting allows the database on the web server to communicate with the web browser of the end user’s computer. Languages includes in server side scripting : PHP JAVA Python ASP.NET Ruby 3. Da...

.htaccess file

What is .htaccess file? A .htaccess file is an ASCII file. It is a short form of  Hypertext Access. It is a configuration file used by Apache-based web servers . The  .htaccess is the file’s extension. It is not a file  name.  It will affect on the folder  in which it is located and also on subfolders. we can use .htaccess for following Remove file extension Redirect to custom error pages Block or allow IP addresses Prevent directory listings How to remove .php extension from URL? Create .htaccess file in root of your project and add following code in it RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php Before  URL is like www.example.com/home.php After adding .htaccess it will be like www.example.com/home Redirect to custom error pages It is used to redirect the user to a custom error page by using the error code. Following are error codes 400 – Bad reque...