tk1 Posted February 19, 2007 Report Share 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 Link to comment Share on other sites More sharing options...
andrisp Posted February 19, 2007 Report Share 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(); } Link to comment Share on other sites More sharing options...
tk1 Posted February 19, 2007 Author Report Share Posted February 19, 2007 Paldies bet kā var uzināt vai tas ir jānis vai pe4ka :? Link to comment Share on other sites More sharing options...
andrisp Posted February 19, 2007 Report Share Posted February 19, 2007 Kā "Kā var uzzināt" ? Link to comment Share on other sites More sharing options...
tk1 Posted February 19, 2007 Author Report Share Posted February 19, 2007 Visus ta4u jānis nesauc :/ Link to comment Share on other sites More sharing options...
andrisp Posted February 19, 2007 Report Share Posted February 19, 2007 Nu tachu! Tad, kad juuzeris ielogojas, tu tachu vinju kaut kaa identificee ? Link to comment Share on other sites More sharing options...
tk1 Posted February 19, 2007 Author Report Share Posted February 19, 2007 Nu ka forums cik sapratu pec id to dara... Link to comment Share on other sites More sharing options...
andrisp Posted February 19, 2007 Report Share Posted February 19, 2007 Uztaisi print_r($_SESSION); Link to comment Share on other sites More sharing options...
tk1 Posted February 19, 2007 Author Report Share Posted February 19, 2007 pameiģināsu liels tev paldies! Link to comment Share on other sites More sharing options...
kent Posted June 22, 2009 Report Share Posted June 22, 2009 Jus varetu ludzu iemest visus online skriptu failus!! Link to comment Share on other sites More sharing options...
bubu Posted June 22, 2009 Report Share Posted June 22, 2009 kent: es ļoti apšaubu, ka kādam ir saglabājušies 2 gadus veci faili no šī topika. Link to comment Share on other sites More sharing options...
Recommended Posts