The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
![]() Code:
<?php if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { if ($file != "." && $file != "..") { echo "$file\n"; } } closedir($handle); } ?> |
#12
|
||||
|
||||
![]()
www.php.net/is_dir function checks for directories
![]() |
#13
|
|||
|
|||
![]()
Yup I figured it out. I used the readdir function.
|
#14
|
|||
|
|||
![]()
How do I get rid of those dots? Also how do I sort this alphabetically?
PHP Code:
. .. Ford Infiniti Mercedes BMW Nissan Volvo |
#15
|
|||
|
|||
![]()
Well I did an extremely crude fix:
PHP Code:
|
#16
|
||||
|
||||
![]()
The 2nd argument of str_replace can be blank. You can substitute the first argument with an empty string, instead of using an image tag (which makes no sense).
|
#17
|
|||
|
|||
![]()
No if I put a space in the br's have effect, but if there is 0 pix images there is nothing to <br>
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|