We 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 CommentAuthor: Praveen Anaparthi
11+ years of IT industry experience holding a wide range of skill sets and roles with significant work on PHP, Node.js, Python, Ruby, Docker, React.js, Microsoft Azure, Azure DevOps, Windows PowerShell, Shell script, Jenkins, MongoDB, SQL, MySQL, Apache, Nginx. etc. It is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.
CSS3 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 CommentsGET data is simply disallowed by CodeIgniter since the system utilizes URI segments rather than traditional URL query strings (unless you have the query string…
Leave a CommentThis script will allow you to upload files from your browser to your hosting, using PHP. Uploading Files to a server can be broken down…
Leave a CommentOpen a notepad, and put the following code: This should be saved as test.php in the document root of your server. If you then see…
Leave a CommentHere is my Array with some stuff $myArray = array(‘key1’ => ‘value1’, ‘key2’ => ‘value2’, ‘key3’ => ‘value3’); What if you need to count the…
Leave a CommentToday, we are Going to Use Codeigniter URI Segments to rule all Methods within the controller, means one Controller will load views based on the…
Leave a Comment