vrnagy Posted November 20, 2005 Share Posted November 20, 2005 Követelmények: * PHP futtatás a szerveren * CHMOD állítási jog * Winamp 2.0 vagy 5.0. 1, Hidden Content Give reaction or reply to this topic to see the hidden content. 2, Tömörítsd ki a DLL-t a Winamp Plugin mappájába (alap: C:\Program Files\Winamp\plugins) 3, Indítsd el a Winampot menj a Tulajdonságokba (Prefrences), Bővítmények (Plugins), Általános célú (General Purpose) és nézd meg h felrakta-e a plugint ("Luke's Info Sender"). 4, Csinálj egy "winampsig" nevű könyvtárat a szerveren Töltsd fel, This File Az "index.php" tartalma legyen a következő: <?php function inkort($txt, $length) { if(strlen($txt) > $length) { $txt = substr($txt, 0, $length)."..."; } return $txt; } $content = $_GET[szam]; if($content) { $szoveg = "Ide írhatsz vmit amit akarsz, ezután a szöveg után lesz kiírva a szám címe".$content; $felirat = stripslashes(inkort($szoveg, 30)); header("Content-type: image/JPEG"); $keszit = ImageCreateFromJPEG("sig.jpg"); $feher = Imagecolorallocate($keszit, 255, 255, 255); $fekete = ImageColorAllocate($keszit, 0, 0, 0); imagestring($keszit, 3, 70, 6, $felirat, $fekete); ImageJPEG($keszit, "winamp.jpg", 100); ImageDestroy($keszit); } ?> 5, Állítsd át a "winampsig" mappa és a fájlok CHMOD-ját "777" "(rwxrwxrwx)"-re. 6, Menj vissza a Winamp Bővítményeihez, kattints 2x a "Luke's Info Sender"-re és írd be az index.php URL-jét "http://www.teneved.hu/winampsig/index.php?szam=" Jelöld be az 'Enable'-t és kattints az OK-ra. 7, Indítsd újra a Winampot, indítsd el a lejátszást, várj 10-20 másodpercet és utána menj a következő linkre Hidden Content Give reaction or reply to this topic to see the hidden content. Hidden Content Give reaction or reply to this topic to see the hidden content. Idézés Link to comment Share on other sites More sharing options...
vrnagy Posted December 10, 2005 Author Share Posted December 10, 2005 senkinek nincs vbéleménye? Idézés Link to comment Share on other sites More sharing options...
creative-X Posted December 10, 2005 Share Posted December 10, 2005 (edited) még nincs, most olvasom el, de érdekel a dolog, szóval köszi edit: na szóval nemműködik, vagy én csesztem el valamit ez lenne az index.php fájlom, de nem kreál winamp.jpg fájlt: Hidden Content Give reaction or reply to this topic to see the hidden content. Hidden Content Give reaction or reply to this topic to see the hidden content. Módosította Szeptember 28, 2007 DJ Z-Project Idézés Link to comment Share on other sites More sharing options...
vrnagy Posted December 12, 2005 Author Share Posted December 12, 2005 a kódodban van a hiba ImageCreateFromJPEG("http://http://xster.cobraweb.hu/radiX/system/images/sig.jpg"); itt nem HTTP link kell hanem a winampsig mappán belül a kép elérési útja Idézés Link to comment Share on other sites More sharing options...
asbi Posted December 12, 2005 Share Posted December 12, 2005 Hümm hümm nekem sem akarja megtenni amit kéne! Hidden Content Give reaction or reply to this topic to see the hidden content. Nekem ez a php-m! Hol lehet a hiba? Idézés Link to comment Share on other sites More sharing options...
dj_goffy Posted December 12, 2005 Share Posted December 12, 2005 Én meg kajak nem kaksizkodok vele,többet nyom a leves mint a hús,de azért ksznm! Idézés Link to comment Share on other sites More sharing options...
tormentor Posted December 12, 2005 Share Posted December 12, 2005 Lehet, hogy buta kérdés, de mi is ez a Winamp Sig? Idézés Link to comment Share on other sites More sharing options...
dj_goffy Posted December 13, 2005 Share Posted December 13, 2005 Sztem,részletes választ legfelűl kapsz Idézés Link to comment Share on other sites More sharing options...
vrnagy Posted December 27, 2005 Author Share Posted December 27, 2005 $keszit = ImageCreateFromJPEG("http://izebigyo.atw.hu/winampsig/sig.jpg"); ebben az a baj hogy HTTP linket adsz meg, a kódnak nem HTTP-s elérés kell $keszit = ImageCreateFromJPEG("sig.jpg"); így menni fog Idézés Link to comment Share on other sites More sharing options...
guru Posted Június 30, 2006 Share Posted Június 30, 2006 az a gond, h nekem sem megy Lehet, h már 5.24-es Winamppal nem lehet ilyet alkotni? Idézés Link to comment Share on other sites More sharing options...
kufi Posted Október 14, 2006 Share Posted Október 14, 2006 Nekem se megy de nagyon érdekelne. winamp 5.3at használok és freewebre tettem fel. Itt van ugyanazz picit megváltoztatva. Hidden Content Give reaction or reply to this topic to see the hidden content. De nekem ez sem megy . De nem a phpnak van baja hanem a winampnek. Mert pl ha beirom manuálisan a böngészöbe hogy index.php?song=Előadó - Szám1 Akkor már müxik is. Tehát a winamp nem küld el semmilyen infot. Idézés Link to comment Share on other sites More sharing options...
Piero Posted Szeptember 23, 2007 Share Posted Szeptember 23, 2007 Kösz, mingyárt kiderül hogy megy-e Nem megy. Ezek közül mi nem stimmel? Az index.php fájl tartalma: Hidden Content Give reaction or reply to this topic to see the hidden content. Az ftp-n tárolt fájlok: index.php, winamp.jpg, sig.jpg (mind2 kép ua. csak nemtom melyik kell.) Konfigurációnál ezt írtam be: Hidden Content Give reaction or reply to this topic to see the hidden content. És a kép: Idézés Link to comment Share on other sites More sharing options...
enisz Posted December 18, 2007 Share Posted December 18, 2007 scriptnél van egy sokkal egyszerűbb is Hidden Content Give reaction or reply to this topic to see the hidden content. részletes info a linken Idézés Link to comment Share on other sites More sharing options...
Dj Music Posted December 19, 2007 Share Posted December 19, 2007 Köszönöm mindenkinek,ezek érdekesek! Idézés Link to comment Share on other sites More sharing options...
Markeee Posted Január 14, 2008 Share Posted Január 14, 2008 Hogyan tudom azt, hogy a felirat ne középre kerüljön? Idézés 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.
Note: Your post will require moderator approval before it will be visible.