Network Unlock Code vs SIM Unlock PIN I bought an unlock code from http://www.unlockcode4u.com because my phone was asking for it (Enter PIN Code)

I got the code and it does not work. Actually only allow me to enter 4 digits. 
Now this guys are telling that the code is for the phone's "Network unlock" not the "SIM unlock" and if I don't remember the PIN I will need to the PUK code from my network provider, so I feel that I paid for something I don't need.

This is the first time I try to do this and I feel frustrated.

I would really appreciated any help.

John
If your SIM card is PIN locked, the network unlock code is useless. The network unlock code allows a phone that is restricted to a single carrier to be unlocked for use in other carrier's networks.

The SIM PIN is a personal identification number that is used to unlock the SIM card in order to register it to the network. This means that the phone will not connect to the network before a SIM is unlocked. Usually (at least around here) a new SIM has a simple PIN, like 0000 or 1234, and the user can change this. However, the carrier doesn't know your PIN, so if you forget it it can't be reset from the carrier directly.

If you happen to forget your PIN, the only way to unlock the SIM is to enter a wrong PIN enough many times (3 or 5 usually), and after this the SIM asks for the PUK (Personal Unlock Key) code, which is sometimes referred to as PUK1.

The PUK code can be obtained from the carrier, after they verify you are the rightful owner of the SIM and contract. If the SIM is a prepaid, the PUK code is sometimes printed in the card holder. After you get the PUK, enter it into your phone and enter a new PIN. After this, you can unlock the SIM with the new PIN you specified.

Note: DO NOT try to guess the PUK code yourself, if you enter it wrong three times, the SIM will be permanently locked and you'll have to get a new SIM from your carrier.