![]() Topic awaiting preservation: Illegal seek? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Cell 666 |
![]() code: <?php
|
Paranoid (IV) Inmate From: New Jersey, USA |
![]() Could it have anything to do with a .htaccess settings or permissions on the directories? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() synax: Illegal seek errors seem pretty simple things: quote:
quote:
quote:
|
Maniac (V) Inmate From: Cell 666 |
![]() Allow me to break it down. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() synax: Ahhhhhh right I see well the main problem is although this might be a Unix command: quote:
|
Paranoid (IV) Inmate From: Den Haag, Netherlands |
![]() How about code: function php_get_contents($dir_name) {
code: <?
|
Maniac (V) Inmate From: Cell 666 |
![]() |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
![]() I suggest you also look at the is_file() and is_dir() functions ... code: $got_em=array();
|
Maniac (V) Inmate From: Cell 666 |
![]() Well what I'm trying to do is try and open each student's directory, and if I can't open it, I don't print it. I'm only interested in the directories that have public access. This is why I'm just trying to fopen() them all (which works). For some reason though, the problem is with my UNIX ls command. I'm going to try something different... |