You can delete files from the server with PHP’s file system function unlink() which will delete or remove the files. It can remove all type…
7 CommentsYear: 2012
In this post, I want to explain how to redirect the subdomain to a subfolder with .htaccess. I implemented this for demos.arjunphp.com,lab.arjunphp.com and downloads.arjunphp.com I…
1 CommentHere is the simple tutorial On Twitter Like Login Box Show and Hide effect with JQuery, You can achieve this with fewer lines of code…
Leave a CommentThis post is about Automatic Copyright Year Update, Almost nowadays most of the website include a copyright declaimer a the bottom of the page in…
Leave a CommentWe can find absolute path in different ways on a web server using PHP, I am showing some of that practices here echo realpath(dirname(__FILE__)); //…
Leave a CommentCSS3 allows web designers to specify multiple background images for box elements, using nothing more than a simple comma-separated list. Multiple backgrounds are supported by…
Leave a CommentToday’s post is about password validation in PHP using Regular Expressions. Here is the small use full Password Validation function. Password Regular Expression Pattern The…
6 CommentsHere is the simple and elegant solution to open all .pdf files in new window with jQuery.
Leave a CommentUsing the below simple html markup , you can auto refresh or reload the page. The following refreshes the page every 60 seconds.
Leave a CommentUsing the below script, you can auto refresh the output of your PHP script in a browser. Place the code on the first line of…
Leave a CommentThis post is about data retrieving from MySQL database table using PHP. The bellow PHP script will give you Unordered list format output. Before doing…
Leave a CommentThis post is about removing empty elements from the given array using PHP. Here is example $test_array = array(‘foo’, ‘bar’, ”, ‘sleep’, ”,null,’arjun’); $test_array =…
Leave a CommentThe rewrite module is not enabled by default in Apache’s configuration settings. although you can enable it manually by doing very few simple steps: 1.…
Leave a CommentI always use this Base Controller for My CodeIgniter App Development, It makes my app portable and flexible.We can define all Global settings in Base…
6 Comments