![]() |
Avatar Scriptorz!
hey, i need some help here
i understand this is a NPC scripting fourm but mayeb you guys know a little PHP and can help me ^^? ok i have this scrip here..... <?php header("content-type: image/gif"); srand((double)microtime()*10000000); $i=1; $handle=opendir("sigs"); while ($file = readdir($handle)) { if ($file != "." && $file != "..") { $dirlist[$i] = $file; $i++; } } closedir($handle); $randomtopic = rand(1,sizeof($dirlist)); include("sigs/".$dirlist[$randomtopic]); ?> ok now the question is where do i insert the hosted file names at? someone please helps me i have no idea what i am doing :P |
Make a dir called sigs and put them in there
and well Bingo |
nm problem solved thnx :D
|
| All times are GMT +2. The time now is 03:37 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.