directory listing with array



Hi all,

I need to wiev in a php page the listing of one on my directory in the
webserver.

can someone help me to understand how?

for every file in thw directory I need a row in a html file..

directory: /opt/dir

result:

file1
file2
file3
...

Really thanx

.



Relevant Pages

  • Re: directory listing with array
    ... > I need to wiev in a php page the listing of one on my directory in the ... > webserver. ...
    (comp.lang.php)
  • Re: Writing data to HTML file BEFORE the tag.
    ... which then appends the user comments to the ... end of the HTML file on which the form is located. ... This PHP code ... The exit call here will prevent the script from returning a complete ...
    (comp.lang.php)
  • Re: HTML/PHP include files
    ... not sure if this is the problem but your two php files are different: ... see if its the problem by copying your includes dir to the jennifer dir and ... or use the absolute paths above(make sure to delete jennifer/includes so you ... I thought that I could include an html file from a php statement ...
    (alt.html)
  • Re: Can PHP be used to write permanent file changes?
    ... perl, php, cgi or something else so I was wondering what you would ... write the new html file on the server? ... Something to process user submissions and store them ... PHP has no problem writing an HTML file ...
    (php.general)
  • Re: php requires ".php" not ".html" ?
    ... Is there anyone else reading here who thinks Jerry is correct? ... those who write .php files, as if a bloody file extension matters. ... server parse an .html file for .php it places a greater work load on ... the server more so than if the server know if the file was a .php When you ...
    (comp.lang.php)