View Single Post
Old 11-29-2006, 03:01 AM  
Tempest
Too lazy to set a custom title
 
Industry Role:
Join Date: May 2004
Location: West Coast, Canada.
Posts: 10,217
If you want to just drop it in a directoty and browse to that file, call it something like "listfiles.php" and change these 3 lines:

$fd = fopen("outputfile.html",w);
fwrite($fd,$text);
fclose($fd);

to simply

echo $text;

then in your browser just:

http ://www.yourdomain.com/pathto/listfiles.php
Tempest is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote