Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts
How to delete the entire directory with in its files in php

How to delete the entire directory with in its files in php

Generally we use the remove directory rmdir() method. In this case the directory will be removed when it has no files on it. another way is unlink() method. This method can be used for removing the single file from the directory location. How to download the multiple directories as a zip file in PHP If you want to remove the directory and its all...
How to get the user ip address in php

How to get the user ip address in php

In many situations developers want's the user ip address. Those are In user registration time store his/her ip address. In login time also store his/her ip address . In these two factors developer compares the registered ip address and logged ip address. If both are equal no issue when these are not equal then intimate the user "You are logined...
Live html compiler using php and bootstrap

Live html compiler using php and bootstrap

If you want to make the live html compiler similar to the w3schools.com try editor What is live html compiler ? you can see the exact output of the html code before save and run in the browser. This is a simple technique to develop the live html code in the php. Here we are going to use the textarea as a input of the html code and iframe as a output...
How to auto load the page in div every 5 seconds

How to auto load the page in div every 5 seconds

Now a days we are seen many websites are fetch the data without page refresh. If you want to load the page auto  in div by using jquery. It is possible by using the setInterval() here you can mention the auto load page and time. Then you are defined the page will load the certain amount of time as you set in the function. This page content will...