View Full Version : How do I...
GeneHumbert
08-22-2002, 05:15 AM
How can I set up a file (script?) to display the complete file name in a directory off a web server? The site I'm working on has some unusually long names, and so far, everything I've tried results in some of the names being curtailed. I need this to be a clickable link that shows the complete file name. Is this possible?
thanks in advance for any help...
Gene...
stuntboy
08-22-2002, 08:38 PM
are they being shortened with readdir?
http://www.php.net/manual/en/function.readdir.php
if they are they must really be long. I guess it is possible you could use the ftp functions and log into the directory via ftp (all can be done in the php code) and get a directory listing that way
GeneHumbert
08-22-2002, 10:47 PM
That got me where I needed to be :)
Never seen that site before. I am impressed with the additional code snippets available.
Gene...
Nightfire
08-22-2002, 10:52 PM
That site is the official php site :) You may want to download the manual (aka the php bible) from there too :)
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.