topic
Entries
- tech / 2020
How to pass values in a function ↗
You can pass values in the functions you can pass single value and you can pass an array. In this post I will explain how values are passed in function. On the other file you need to call this…
- tech / 2020
How to create class and function in PHP ↗
Creating class and function is PHP is the smart way to re use code. Here is the very simple example of class creation and function declaration. You can create a file called class\ base.php How to…
- tech / 2017
How to extend your website feature ↗
I wanted to add few extra functions in my website with out writing much coding! Lazy programmer! So I did a research and found this tool which has good ability to extend the feature of a WordPress…
- tech / 2012
Params anywhere ↗
As I was working in one of the Joomla websites, I ran across a sceranio where i have to call a template parameters in a module. My typical programming instincts was to write a Query and fetch the…
- tech / 2012
Response Codes ↗
Every thing in a web is based on request and response. If you want something you are requesting it, where do you do it, it is nothing but your browser. The request is sent to the server. The server…
- tech / 2012
non-www to www redirect ↗
Why you have to do the non-www to www redirect? Some of the users follow the conventional method of typing the URL from www. if your website does not support this then there might be chances that…
- tech / 2012
Denny or allow access for IP ranges ↗
We can block a single domain or a complete range such as entire countries. deny from 99.1.0.0/255.255.0.0 To allow Range of Multiple Ip address: allow from 99.88 99.88.77 11.22.33 Place these code in…
- tech / 2012
Automatically CHMOD various file type ↗
Several sites have been harmed due to improper permissions. This interesting hack gives the site a semi-auto healing mechanism. Warning: Your mileage may vary. Ensure CHMOD settings for specified…
- tech / 2012
Encode and decode URL ↗
In PHP you can send values by encoding and decoding the URL by using this encoding and decoding method. ```php echo base64 encode(‘I am encoded PHP’); ``` You will get and output something like this.…
- tech / 2012
How to get image size dynamically ↗
There are many times you wonder why the w3c validation is not going through for you. Please make sure that the img tag has the width and height attributes. What will happen if the image file comes…