Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    SWG
    SWG is offline
    New Coder
    Join Date
    Nov 2006
    Location
    Oklahoma City, Oklahoma, United States
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Showing Files On a Server

    I know how to create and edit files on a server (Web site), but can you show the current files on the server? If you can how do you do it?
    Signatures are for squares.

  • #2
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,802
    Thanks
    19
    Thanked 157 Times in 148 Posts
    for PHP 5, there is scandir: http://us2.php.net/manual/en/function.scandir.php

    If you dont have PHP5, look in the User Contributed Notes at the bottom of that same page for user defined functions that do the equivalent.
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •