Most of the time we use mysql_select_db() to select a mysql database, the syntax is mysql_select_db( db_name, connection ); The above syntax results a boolean value, i.e. either true (1) or false(0). Alternatively, you can use MySQL command: USE database_name Let me show you how to use it with PHP. You can implement the above […]
Archive for the ‘website’ Category
Making PHP login more secure with some tweaks in MD5 hashing
There are several methods to make your login script secure. The most crucial step for that is obviously to escape strings using real_escape_string() function that varies from the PHP version. This will get you rid of some common SQL injection attacks via form or address bar. Another thing you must make secure is the user password. […]
Download Files directly to your web host server faster and easier
Needless to say that it’s a hectic job to download and upload a file from some website to your hard drive and again upload and extract it to your server. Imagine how much time are you loosing in this process. But imagine how you can save your time by directly downloading it to your own web server. […]
Designing a webpage using Adobe Fireworks CS3
The mock ups are the prototype models for a web page to be designed. This can be very useful in order to verify whether the mock up satisfies the client’s needs and if the changes are required, then it will be implemented in the original web page design. The webpage mock ups are designed by […]
Automatic updating jQuery Content Slider for Blogger
Let me introduce you to a very new technique to show slideshow of your recent posts in Blogger blogs. With this tweak applied, you no longer need to edit your widget HTML codes more than once. This jQuery content slider uses my small jQuery content slider technique which I posted in my previous post. First look at […]
Cut MP3 Files Online
There are several MP3 Splitter tools that helps you to cut your MP3 Files according to your need. Search in Google itself, you’ll find large list of such free mp3 splitter tools. But have you ever wished for such online tools that access your local files, edits your local mp3 files and splits it locally? […]
Visit World’s First website
You use Facebook, Google and other web pages everyday. But have you ever visited world’s first website? Let’s recall the history. The main idea of World Wide Web (WWW) was proposed 2 decades ago in March 1989 by Tim Berners-Lee. It was written to persuade CERN that a global hypertext system was in CERN’s best interest. The […]
Bad things about Internet Explorer 9 Beta
The beta version of Internet Explorer 9 was released 2 days ago in September 15 2010. There have been lots of reviews about the Internet Explorer 9. There are lots of good features added in Internet Explorer 9. The Developers Tools is very useful and the design is pleasing to eyes. But I am not […]
10 Good Reasons to choose Blogger over WordPress
There are many people who claims WordPress Blogs are better than Blogger Blog. The main reason behind this is it’s flexibility and capability. There are several posts in internet who share discouraging thoughts about Google Blogger. Read these 10 good things you can know about Google Blogger. 1. Owned by IT’s Leading Company, Google Blogger was in […]