Category: Computer Related

How to show the size of folder using PHP with progressbar 0

How to show the size of folder using PHP with progressbar

To show the details of folder, first of all we check that, it is folder of file. If it is a folder then we count the number of files present in that folder and...

How to use meta tag and description dynamically for wordpress 0

How to use meta tag and description dynamically for wordpress

To use meta tag and description in wordpress dynamically, we use the wordpress tags as a meta tags and excert content use as a meta description. As per the requirement description should be 150...

How to use featured image in wordpress 0

How to use featured image in wordpress

To use featured image in wordpress, You must add this line in your functions.php file if ( function_exists( ‘add_theme_support’ ) ) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 150, 150 ); // This is default Post...

How to upload multiple files at a time 0

How to upload multiple files at a time

To upload a file first of all you have to set the formĀ  “enctype” Like the given blow example. <form id=”form1″ name=”form1″ method=”post” action=”” enctype=”multipart/form-data”> By this Javascript user can create multiple upload box...

How to check file is exist or not using php 0

How to check file is exist or not using php

We can check the file is exist or not in the folder usingĀ  file_exists function Here is a simple code to check the presence of the file $add=”images/119.jpg”; if(file_exists($add)) { echo “Yes file is...

Protect your folder or folder lock without any Software 0

Protect your folder or folder lock without any Software

We can protect or lock any folder without any software with few steps Open notepad and copy the below code and save as lock.bat.You can save also any other default name. At first time...