FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Apache + php + directory browsing + reader for TXT files
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Apache + php + directory browsing + reader for TXT files [message #182752] Wed, 04 September 2013 12:44 Go to previous message
G. is currently offline  G.
Messages: 1
Registered: September 2013
Karma:
Junior Member
Hi, I have a bunch of *.txt files. I would like to put them on my server
(I already have a running apache2 with PHP5 and Mysql) and allow my students
to browse directories and read the TXT files.

I spent some time yesterday on applying a CSS to apache's "directory browsing"
ability.

Now, I would like to go a further step: applying a minimal style to my TXT
documents with a few rules. (font, size, margins, background color, color, etc.)
and dynamically producing links from my http://... strings.

I think it is possible to play with apache redirection settings and PHP
for dynamically build a *.txt reader. But maybe something has already be
done which could be a starting point for me.

Are you aware of that?

Two questions:
* (php related) what resources could I use for my purpose?
* (for apache wizzards) what would be the best way of handling my *.txt files
and redirecting to a small php "reader"?

Regards,

--
G.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: php exec ( ) DO NOT work for relative paths: Help?
Next Topic: [Mac OS X ML] how to install MongoDB driver
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Mon Nov 25 03:46:40 GMT 2024

Total time taken to generate the page: 0.04153 seconds