Archive for April, 2007

Logon failure: the user has not been granted the requested logon type at this computer.

Ukoliko vam Windows XP Professional javlja gresku kao sto je u naslovu, probajte sledece:

1) Idete u Start->Run->type “secpol.msc”
2) Kliknite dvaput na “Local Policy”
3) Kliknite dvaput na “User Rights Assignment”
4) Trazite sledece:

a. “Access this computer from the network”
b. “Deny access to this computer from the network”

U “Access this computer from the network” moraju biti izlistani: Administrators, Power Users, Users, Backup Operators, i Everyone

“Deny access to this computer from the network” mora biti prazno, eventualno moze biti izlistan: SUPPORT_388945a0, sto je u redu, ovde se cesto nalazi i Guest, sto ne sme da se dogodi, inace tom racunaru necete moci da pristupite preko mreze.

Resenje sam pronasao ovde.

Posted on Sunday, April 29th, 2007
Under: Windows | No Comments »

Kako selectovati prvih 10 zapisa, pa sledećih 10?

select * from Tabela limit 5, 15

Gde je

5 – broj od kog da selektuje

15 – broj stavki koje da selektuje

Posted on Thursday, April 5th, 2007
Under: PHP | No Comments »