Posts Tagged ‘tips’

Force download multiple files in a zip archive using PHP

In this post, I'll show you how can you download the multiples files in a zip archive using PHP. I've made a function in PHP where you've to pass the parameters the array of files to be zipped, the second parameter is file name as which zip archive file has to be downloaded and finally the path of files where files to be zipped are located.(assuming that they are all in same folder) Full story
Tags: ,

Choosing the best among the web hosting providers

You'll be in a great confusion if you have to buy the service from a new web hosting provider. There are many web hosting providers in the market and you've to choose the best among them so that you'll not be suffered by choosing it. Most of the customers suffers from bad web hosting companies due to their unreliability and lacking of sustainability in the high volume of traffic.So, I always suggest you to compare the features of web hosting providers before buying it. Full story

Handling array of HTML Form Elements in JavaScript and PHP

Today, I would like to share the way of handling array of HTML FORM elements using JavaScript and PHP.Well, it's very easy to get the data from the array of HTML form elements in PHP and using them but in JavaScript it's a bit tricky to handle the array of HTML form elements. I had a hard time to handle them via JavaScript in past thats why I'm posting it here so that people will not have hard time to cope with array of form elements in JavaScript and PHP. Full story

Move an object on mouse wheel scroll event using JavaScript

Today, I've come along with another post where you'll see how to move a object within web page when you scroll the mouse wheel using JavaScript.In this example, when you move the mouse wheel the object i.e div moves upwards or downwards depending upon the scrolling direction the mouse wheel. Now, let's look at the detail of this tutorial in JavaScript. Full story

Making dashed or dotted link using CSS

Today, one of the friend of my office asked me how to make dotted or dashsed link as he was looking for "text-decoration" for making it.Today, I've come up with a very simple technique to make a dotted or dashed hyperlink using CSS.This technique might be known to most of you guys but it might be useful for those guys who don't know about this technique. Full story
Tags: ,
Copyright © 2014 Roshan Bhattarai's Blog. All rights reserved.
Powered by WordPress.org, Custom Theme and ComFi.com Calling Card Company.