x0xboy Posted January 28, 2008 Report Share Posted January 28, 2008 azi noapte ma gandeam la un script sa-mi schimbe banner cand dai refresh sau cand acesezi o alta pagina decat anterioarea si mi-a iesit primul meu mare script 60 lini incerc sa dezvolt ideii de la 0 sunt incepator php deci cred ca e bine pentru 2 luni de studi php ?am pus aici pentru ca pe forum e anti xss ala si ami sterge ; si nu mai stiu ce si am un demo pe hxxp://www.x0xboy.net/img/random.phphxxp://paste.uni.cc/18213 Quote Link to comment Share on other sites More sharing options...
kw3rln Posted January 28, 2008 Report Share Posted January 28, 2008 deci tu lai pus aici: http://www.codurisursa.ro/showcode.php?id=545 ?sau aici http://www.alistapart.com/d/randomizer/rotate.txt ?is la fel Quote Link to comment Share on other sites More sharing options...
ÐÒ& Posted January 31, 2008 Report Share Posted January 31, 2008 ce protocol e ala XHHP Quote Link to comment Share on other sites More sharing options...
pts Posted May 12, 2009 Report Share Posted May 12, 2009 (edited) ma refeream la faptul ca este naspa dar nu am mai scris Edited May 12, 2009 by pts Quote Link to comment Share on other sites More sharing options...
paxnWo Posted May 12, 2009 Report Share Posted May 12, 2009 ---------------de ce a trebuit sa dai replayul asta ? Quote Link to comment Share on other sites More sharing options...
loki Posted May 12, 2009 Report Share Posted May 12, 2009 (edited) Ce e asta?Ok program de schimbat banner pe functie random:<?$files=array("poza1.jpg","poza2.jpg","poza3.jpg");...echo "<img src='http://panamea.com/".$files[random(count($files))]."'>";?>scris din memorie, sintaxa poate sa fie 100% naspa. Nu am accesat link-urile de mai sus. Dar complexitatea algoritmului si prezentarea si mai ales analiza sa de dupa (offtopicurile) ma fac sa inalt topicul la rangul de... recycle bin. Daca aveti obiectii fondate il mut la loc. Edited May 12, 2009 by loki Quote Link to comment Share on other sites More sharing options...