Editorial Staff

Author Archives: Editorial Staff

How to get current page URL in PHP?

You can use PHP $SERVER variable for getting current page URL. Being super global variable you will get access to $SERVER in any part of PHP application. Below is a sample script getting the URL of the current page in PHP

You may find these articles helpful: How to check a variable is an […]


jQuery hide() and show()

Using jQuery, you can hide and show HTML elements with the hide() and show() methods:



How do I Compress a Whole Folder Linux?

How can I compress a whole directory under a Linux command prompt? You will be using tar command to compress a folder in linux: Where, -z : Compress archive using gzip program -c: Create archive -v: Verbose i.e display progress while creating archive -f: Archive File name For example, you have a direcotrey called mysite.com in […]

1 2 3 24