welcome to Beerwin's Blog !

This blog has been started because there are many things that cannot be placed on the main site, but they are such good things, that they cannot be omitted. See them here.

Terms and conditions

Anyone can use any posts from my blog (except comments) with the following conditions:

  • Backlink
  • The material will not be sold
  • The material will not be used for marketing purposes
  • Multilevel Web Marketers: GO AWAY!

Anti-malware video

Filed Under (General) by beerwin on 22-09-2008

Tagged Under : ,

Today i found a interesting wideo about today’s most known and most dangerous malware, that disguise temselves as antivirus and antispywer products, however there is no real software of this kind. Their main purpose is to snare you, and request your credit card number.

There is only one way to stop this: Do’nt trust sites scanning your computer online. No antivirus/anti-malware scanner does this. Such software needs to be installed on your computer, BY YOUR HANDS, and needs to be updated regularly. And do it yourself! Find trusted antivirus software, or if you do’nt know about, ask a professionist (NOT THE “KNOW-HOW” GUY FROM YOUR NEIGHBORHOOD), or a professional service center to do it for you. If you can do it, never store your passwords, personal information (e-mail addresses, phone numbers, friends’ contact information, banking data, etc.) on your computer, and do’nt allow browsers and sites doing this, as well. If you’re storing this information on your computer and go online, you’re just a few clicks away from giving away your information, maybe your money, even your identity FOR NOTHING. You MAY LOSE EVERYTHING YO HAVE AND EVERYTHING YOU ARE.

See the video about these damn “anti-malware” things

About PlainHTML installs:

PlainHTML is distributed in a single install package, in an exe package. The installer wizard must start up immediately when the exe file is launched. No other stuff is included, no sponsors will be installed. Just the program.

Connecting to a MySQL database with PHP

Filed Under (PHP) by beerwin on 04-05-2008

Tagged Under : ,

In this tutorial, i will tell, how to connect to an existing MySQL database with an existing username and password.

For the first, we need the database and the credentials for it. If you are using a free web hosting service with PHP and MySQL support, you already have this information.

If you have a web server installed with PHP and MySQL, you have to create a database and a username. Since this is not part of this tutorial i will talk about it in another post.

Now, it’s time to get connected. We will create the db.inc.php file:

1
2
3
4
5
6
7
8
9
10
11
12
13
//database connection file// for first, we need to set database name, host, username and password for our connection. Modify them corresponding to your data.

$dbhost
=“localhost”;
$dbusername
=”your_username”;
$dbpassword
=“yourpassword”;
$db
=“your_db”;

//If you filled in your data, it’s time to make the connection. Don’t modify anything below this line

$connector = mysql_connect($dbhost, $dbusername, $password) or die(Could not connect to MySQL!);

$db = mysql_select_db($db, $connector) or die(“Couldn’t select database.”);