gta1151 Posted May 19, 2010 Report Share Posted May 19, 2010 (edited) Man 2 jautājumi gribu ļoti uzzināt. 1.Kā var izdarīt lai mājaslapā varētu linku uzlikt /users/93 (piem. "www.manalapa.lv/users/95) 2. Nevar iedot piemēru ka var update db Paldies jau iepriekš. Edited May 19, 2010 by gta1151 Quote Link to comment Share on other sites More sharing options...
briedis Posted May 19, 2010 Report Share Posted May 19, 2010 Man 2 jautājumi gribu ļoti uzzināt. 1.Kā var izdarīt lai mājaslapā varētu linku uzlikt /users/93 (piem. "www.manalapa.lv/users/95) 2.Kā nevar iedot piemēru ka var update db Paldies jau iepriekš. 1. Meklē tepat forumā: mod_rewrite, htaccess 2. meklē gūglē: mysql update Quote Link to comment Share on other sites More sharing options...
bubu Posted May 19, 2010 Report Share Posted May 19, 2010 1. <a href="/users/95">/users/93</a> 2. Nesaprotu. Tu gribi aizliegt updeitot datubāzi kādam? Kam? Quote Link to comment Share on other sites More sharing options...
emsy Posted May 19, 2010 Report Share Posted May 19, 2010 1. Briedis pareizi pateica "mod_rewrite htaccess", goglē meklē "mod_rewrite syntax" 2. "UPDATE tabula SET asd=1, asd2='$asd2' WHERE rinda_1=$kkas" Quote Link to comment Share on other sites More sharing options...
gta1151 Posted May 20, 2010 Author Report Share Posted May 20, 2010 Kā sauc šo forum links(nebija domāts ka spams). Quote Link to comment Share on other sites More sharing options...
bubu Posted May 20, 2010 Report Share Posted May 20, 2010 Tas ir jautājums, vai kā? Quote Link to comment Share on other sites More sharing options...
gta1151 Posted May 20, 2010 Author Report Share Posted May 20, 2010 Ir jautājums. Quote Link to comment Share on other sites More sharing options...
briedis Posted May 20, 2010 Report Share Posted May 20, 2010 Kā sauc šo forum links(nebija domāts ka spams). Tas tak jāprasa ir viņiem, ne mums... Quote Link to comment Share on other sites More sharing options...
bubu Posted May 20, 2010 Report Share Posted May 20, 2010 To forumu sauc par "Identy.lv // Multi Gaming Coummunity". To uzzināt var vienkārši atverot tavu linku un apskatoties browsera loga titlē. Quote Link to comment Share on other sites More sharing options...
chizijs Posted May 24, 2010 Report Share Posted May 24, 2010 (edited) Kā sauc šo forum links(nebija domāts ka spams). Laikam jau paštaisīts. Domā visi lejuplādē gatavas mājaslapas? Edited May 24, 2010 by chizijs Quote Link to comment Share on other sites More sharing options...
gta1151 Posted May 26, 2010 Author Report Share Posted May 26, 2010 Ar ko atšķirīgās $_COOKIE un $_SESSION Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted May 26, 2010 Report Share Posted May 26, 2010 diff http://uk.php.net/manual/en/features.cookies.php http://uk2.php.net/manual/en/book.session.php Quote Link to comment Share on other sites More sharing options...
emsy Posted May 26, 2010 Report Share Posted May 26, 2010 Ar ko atšķirīgās $_COOKIE un $_SESSION Normāls jautājums xD, bet nezinātājs varētu arī nezināt :) Quote Link to comment Share on other sites More sharing options...
gta1151 Posted May 26, 2010 Author Report Share Posted May 26, 2010 (edited) Normāls jautājums xD, bet nezinātājs varētu arī nezināt :) Sapratu kas ir tie cepumiņi,varētu paskaidrot $_SESSION. Sāku veidot Cepumu bet nevaru atrasts kļūdu <?php $cepums = 60 * 60 * 24 * 60 + time(); setcookie('username' date("H:i - j.M, Y") $cepums); ?> Edited May 26, 2010 by gta1151 Quote Link to comment Share on other sites More sharing options...
briedis Posted May 26, 2010 Report Share Posted May 26, 2010 Sapratu kas ir tie cepumiņi,varētu paskaidrot $_SESSION. Sāku veidot Cepumu bet nevaru atrasts kļūdu <?php $cepums = 60 * 60 * 24 * 60 + time(); setcookie('username' date("H:i - j.M, Y") $cepums); ?> Palasi palasi manuāli, moš aizies. Šajā rindiņā netrūkst kaut kas? setcookie('username' date("H:i - j.M, Y") $cepums); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.