readdir

From: Date: Tue, 21 Nov 2000 11:03:55 +0000
Subject: readdir
Groups: php.general 
Request: Send a blank email to php-general+get-26423@lists.php.net to get a copy of this message
Ciao, I'm trying to workaround a directory listing using : readdir I tried the code attached to the manual but it keeps giving me RTF file Headers or content.. {\rtf1\ansi\ansicpg1252\deff0\deftab720{\fonttbl{\f0\fswiss MS Sans Serif;}{\f1\froman\fcharset2 Symbol;}{\f2\fswiss\fprq2 Arial;}{\f3\froman\fprq2 Times New Roman;}} {\colortbl\red0\green0\blue0;} \deflang1040\pard\tx540\tx1080\tx1620\tx2160\tx2700\tx3240\tx3780\tx4320\tx4 860\tx5400\tx5940\tx6480\tx7020\tx7560\tx8100\tx8640\tx9180\tx9720\tx10260\t x10800\tx11340\tx11880\tx12420\tx12960\tx13500\tx14040\tx14580\tx15120\tx156 60\tx16200\tx16740\tx17280\plain\f3\fs24\b and it always terminates with the following error: Warning: Unexpected character in input: '\' (ASCII=92) state=1 in c:\apache\htdocs\test.php on line 3 also for <> directories What am I wrong in? I'm working on Win98+ APACHE magic_quotes_runtime on and off doesn't make any difference... (it seems) Ciao Nicola ______________________________________________ Info: http://www.ziobudda.net/mailman/listinfo/php-it

« previous php.general (#26423) next »