777 Posted April 5, 2008 Report Share Posted April 5, 2008 NiTrino, aizmirsi vinjam iedot db f-jas, jo vins diez vai sapratis db_exec = mysql_query un db_fetch = mysql_fetch_array u.t.t. Link to comment Share on other sites More sharing options...
NiTrino Posted April 5, 2008 Report Share Posted April 5, 2008 nu jaa :) http://paste.php.lv/7122 katra lapaa izsaucam setUsersOnlineDB(); listi ar online dabunam ar getUsersOnlineDB (); Link to comment Share on other sites More sharing options...
Faks Posted April 5, 2008 Report Share Posted April 5, 2008 var daudz prastaku uztaisit caur id lai rada to user :) ! Link to comment Share on other sites More sharing options...
lazda144 Posted April 6, 2008 Author Report Share Posted April 6, 2008 varētu kaut vai arī ja aizver pārlūku tad vins automātiski izlogojas Link to comment Share on other sites More sharing options...
mounkuls Posted April 6, 2008 Report Share Posted April 6, 2008 (edited) Aizvērts pārlūks ir tas pats, kas pārtraukts savienojums. Izlogoties pats aizverot pārlūku nevar, to var fiksēt nākamā aktivitāte serverī. --- Grey_Wolf teiktajam, ka nevar padot id ar get es nu gan nepiekritīšu, pieiekami ir lietot integer tajā id lai neko nevar pasākt. Nosaki (int) un neko lieku nepiemetīsi klāt tur. Ja vajag arī diapazonu var čekot lai nevar visiem piekļūt. Edited April 6, 2008 by mounkuls Link to comment Share on other sites More sharing options...
NiTrino Posted April 6, 2008 Report Share Posted April 6, 2008 vinsh droshi vien bija domajis ja padod userid piemeram formai, kas labo usera datus... zin, ir realajaa dziivee redzeeti taadi maakslas darbi :) Link to comment Share on other sites More sharing options...
Recommended Posts