spermer_co Posted October 18, 2005 Report Share Posted October 18, 2005 (edited) vari izmantot šo: <?php @$id=$_GET['id'] ?> <?php if ($lp=="downloads") { echo 'Šeit tu vari nolādēt mūziku utt.'; }?> 24952[/snapback] ok bet es sapratu ka ja es izveidoju linku tad kad uzspiestu uz taa apraditos Šeit tu vari nolādēt mūziku utt, bet kā izdarīt tā lai viņš atver jau esošo lapu (index.php ar visu rakstītotb http://spermis.eclub.lv )nu es nevaru paskaidrot.. uzspied uz tā downloads ar linku ?lp=downloads un atveras mani downloads.php bet links rakstīts ?lp=downloads .. nezinu vai sapratāt :D Edited October 18, 2005 by spermer_co Link to comment Share on other sites More sharing options...
spermer_co Posted October 19, 2005 Report Share Posted October 19, 2005 (edited) gribu zināt kā laik kad uzspiež uz linka viņš vienkārši atver manu downloads.php bet kuram radas links ?lp=downloadi .. (nevis ar include downloads.php bet kautkā savādāk, lai vienkārši atvērtu to lapu.. kautvai kad uzspiež uz ?lp=downloadi atverās prosta piem http://delfi.lv =]..) grūti paskaidrot.. nu kr4 šeit var redzēt to lietu http://spermis.eclub.lv/ikskaks/ (viss gan izskatas sudigi jo naw visi faili iebazti tai folderii ikskaks :D kr4 kaa lai izdara taa lai tie Downloadi augšā nerādās kad esmu uzspiedis uz Downloadi. (tajā linkā lietoju include downloads.php Edited October 19, 2005 by spermer_co Link to comment Share on other sites More sharing options...
Kristabs Posted October 19, 2005 Report Share Posted October 19, 2005 <a href="downloads.php">Downloads</a> ? gy Link to comment Share on other sites More sharing options...
Gizmo Posted October 19, 2005 Report Share Posted October 19, 2005 Varbuut paskaidro kapeec Tu to gribi panaakt. Gruuti saprast ko Tu gribi, bet varbuut nodod caur URL arii to $url=delfi.lv un tad download.php lapaa ieliec redirect uz $url Link to comment Share on other sites More sharing options...
SkaKri Posted October 20, 2005 Report Share Posted October 20, 2005 (edited) to:rudzis //viss iet baigi jauki. //tikai ja liek bez lapas id, tad rāda kļūdu. //šitais case '': include 'main.txt'; //man neko neķer, bet ja iet uz http://skvots.ex.lv?p=jaunumi //tad gan iet? m? //(ps - paldies jau par topašu) :) ā nē - viss ok! paldies rudzim! :) Edited October 20, 2005 by SkaKri Link to comment Share on other sites More sharing options...
Recommended Posts