Topic awaiting preservation: Illegal seek? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Cell 666 |
posted 03-08-2003 23:28
code: <?php
|
Paranoid (IV) Inmate From: New Jersey, USA |
posted 03-09-2003 02:13
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 |
posted 03-09-2003 04:31
synax: Illegal seek errors seem pretty simple things: quote:
quote:
quote:
|
Maniac (V) Inmate From: Cell 666 |
posted 03-09-2003 06:17
Allow me to break it down. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-09-2003 14:07
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 |
posted 03-09-2003 16:41
How about code: function php_get_contents($dir_name) {
code: <?
|
Maniac (V) Inmate From: Cell 666 |
posted 03-10-2003 00:34 |
Paranoid (IV) Inmate From: Den Haag, Netherlands |
posted 03-10-2003 07:10
I suggest you also look at the is_file() and is_dir() functions ... code: $got_em=array();
|
Maniac (V) Inmate From: Cell 666 |
posted 03-10-2003 16:26
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... |