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 ‘Tutorial’ 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. […]
How to change your Facebook Upload Email Address – account hacked
You have many “likes” in your Facebook wall post, haven’t you? But what will you do when your friend’s complains about your non-sense links in your wall post? Refer to the image below which I’ve encountered just few hours ago. The above image excerpt is from my profile page where it says, ” I just […]
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 […]
Create Realistic Clouds Using any version of Photoshop
Cloud has the most irregular shape than any other floating bodies over the Earth. Because it is irregular shaped, it’s easy to create clouds that looks realistic in Computer Graphics. Today, we’ll guide you some simple steps to create a realistic looking clouds. Creating clouds does not require any latest version of Photoshop. We’ll only […]
10 Most popular articles in HackTweak
Most of the older blog posts remains hidden in HackTweak. However, there are several posts that are always active and gains most hits. This time those 10 posts will be exaggerated in this post. How to Hack Computer Using IP Address: This post contains a basic tutorial to hack and acess remote computer or server using Telnet method. How to […]
Accessing Hotmail/Yahoo or any other mail from Gmail Account
This tutorial might be very useful if you are a traveler and have more than one account in different domain servers. Signing out and signing in again consumes your valuable time. However, you may have the habit of collecting all the mails from different servers at one place using Outlook Express, Mozilla Thunderbird, or other […]
15 awesome jquery based content slidesow/glider for your blog/website
Here I’ve collected 15 awesome jquery based content glider for your blog which not only looks cool but also loads faster than ever. 1. Lightbox JS What it does: Click on an image and it expands the picture to its regular size with a grey overlay shading the content behind it. A great way to […]