briedis Posted October 12, 2008 Report Share Posted October 12, 2008 Lieta tāda, man ir saraksts ar mp3 un flash play podziņa pie katra. Katrai flaš filmiņai mp3 padodu kā parametru -<param name="movie" value="skan.swf?skana=sound.mp3" /> Stulbi tas, ka mp3 ceļš ir redzams visiem. Vai es varu uztaisīt php skriptu, kas itkā uzdodas par to mp3. Doma tāda, ka padodu vnk attiecīgā faila nosaukumu hešā. Nu lai tas izskatās tā - <param name="movie" value="skan.swf?skana=skana.php?hash=b78s5df78s5a78f5sd8g" /> Man jau ir tabula ar mp3 faila nosaukumiem un to hešiem.. Link to comment Share on other sites More sharing options...
bubu Posted October 12, 2008 Report Share Posted October 12, 2008 Aptuveni šādi: $faili = array("92371298371" => "fails1.mp3", "1723971293871" => "fails2.mp3", "139127832873" => "fails3.mp3", ... ); $fails = $faili[$_GET["hash"]]; Link to comment Share on other sites More sharing options...
briedis Posted October 12, 2008 Author Report Share Posted October 12, 2008 Bet kā to pašu hederi padot? Link to comment Share on other sites More sharing options...
xPtv45z Posted October 12, 2008 Report Share Posted October 12, 2008 http://lv.php.net/manual/en/function.header.php#74884 Link to comment Share on other sites More sharing options...
briedis Posted October 12, 2008 Author Report Share Posted October 12, 2008 Paldies! Šovakar galīgs besis, pats neesmu spējīgs neko sameklēt :) Atvainojos par stulbu topiku iesākšanu! Link to comment Share on other sites More sharing options...
Recommended Posts