tk1 Posted February 19, 2007 Report Posted February 19, 2007 Sveicināti.. Tā es gribētu zināt kā izskatās sesijas pārbaude pimēram kad users ielāgojas viņš tiek ierakstīc ibf_sessions ieks warezlv un tur lodzina mumber_name tiek iedrukāts vinja vārds man vajadzētu lai skripts pārbauda vai viņš tur ir, ja ir tad laist uz http://warez.sytes.net/web/ ja nē tad atkaļ uz http://warez.sytes.net/ Paldies jav iepriekš! -TK*1
andrisp Posted February 19, 2007 Report Posted February 19, 2007 $sql = " SELECT COUNT(*) FROM `ibf_sessions` WHERE number_name = 'Jānis' "; list($logged_in) = mysql_fetch_row(mysql_query($sql)); if ($logged_in == 1) { header('Location: http://warez.sytes.net/web/'); die(); } else { header('Location: http://warez.sytes.net/'); die(); }
tk1 Posted February 19, 2007 Author Report Posted February 19, 2007 Paldies bet kā var uzināt vai tas ir jānis vai pe4ka :?
andrisp Posted February 19, 2007 Report Posted February 19, 2007 Nu tachu! Tad, kad juuzeris ielogojas, tu tachu vinju kaut kaa identificee ?
tk1 Posted February 19, 2007 Author Report Posted February 19, 2007 Nu ka forums cik sapratu pec id to dara...
kent Posted June 22, 2009 Report Posted June 22, 2009 Jus varetu ludzu iemest visus online skriptu failus!!
bubu Posted June 22, 2009 Report Posted June 22, 2009 kent: es ļoti apšaubu, ka kādam ir saglabājušies 2 gadus veci faili no šī topika.
Recommended Posts