Page 2 of 2 First 12
  • Jump to page:
    #16
  1. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    stream me up scotty part1


    multiple errors on appendices page 9
  2. #17
  3. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    help to compile ftp functions


    How can I compile my php with apache server
    to support ftp functions and mssql functions
    on the Solaris 2.7 platform?!

    I need help!!!

    Thanks!!!
  4. #18
  5. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: help to compile ftp functions


    Just configure back your php, make and make install

    ./configure --with-mysql=/usr/local/mysql \
    --with-apache=/opt/apache1314 \
    --enable-track-vars \
    --enable-ftp \
    etc ... (your own ext)

    then configure the apache back

    ./configure --prefix=/usr/local/apachephp \
    --activate-module=src/modules/php4/libphp4.a

    make and make install



  6. #19
  7. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Download a file


    Hi

    I used this script. But the download option is not working. It showed an error like :

    error opening the file name.

    So i need help.



  8. #20
  9. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    About FTP Download


    Hmm.. when I used this script.
    Have a so funny problem.
    ftp_get() this function can download.
    but after php execution.
    the file still on server-side.
    (just copy a file from ftp server to web)
    (but client still no file)
    ...^^!!
    how to download a file from web interface
    (use php function) and from ftp server to client?
    So .. I need help..
  10. #21
  11. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Simple file upload vs ftp_put


    hello
    I have the same problem and I haven't found any solution.

  12. #22
  13. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Error ftp_chdir


    ftp_chdir lays an egg if the directory name contains a space.

    Is there a way around it?

    --
    JB.
  14. #23
  15. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)
  16. #24
  17. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: Blocking FTP Client access


    As far as i understand it, yes it would be possible to setup the ftp server to allow this (it is actually the FTP server that you would have to setup)

    the way i see it is if you limit the IP address allowed to access the ftp to the localhost (provided you have the FTP on the same machine as the www server)

    a better way would be to bind the ftp server to the localhost address, this way, no-one except the local machine can posibly gain access to the server.

    i hope this helps you !
  18. #25
  19. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: directory listing


    <?php

    $dir_handle=opendir("path");
    //where path is "." if it is current directory

    //x is the number of files listed in this case up to 100 files
    for($x=0; $x<100; $x++)
    {
    $file=readdir($dir_handle);

    print "$file<br>";
    }
    ?>
  20. #26
  21. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    Re: directory listing



    $dir_handle=opendir("path");<br>
    //where path is "." if it is current <br>directory<br><br>

    //x is the number of files listed in this <br>case up to 100 files<br>
    for($x=0; $x<100; $x++)<br>
    {<br>
    $file=readdir($dir_handle);<br><br>

    print "$file<br>";<br>
    }<br>
  22. #27
  23. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2002
    Location
    Mongolia
    Posts
    1
    Rep Power
    0

    Re: About FTP Download


    Dear Zhongping Yu

    Iíve got exactly same problem. If youíve got a solution already, then please share with me. Iíll most appreciate it.

    Thank you
  24. #28
  25. No Profile Picture
    guest
    Guest
    Devshed Newbie (0 - 499 posts)

    download problem


    Hey I am getting a similar error!

    how do you get it so that the file is downloaded to the clientm instead of to just the server from the remote server?

    thanks


    alex
  26. #29
  27. No Profile Picture
    Ducani
    Guest
    Devshed Newbie (0 - 499 posts)

    Stream Me Up, Scotty! (part 1)


    Stream Me Up, Scotty! \(part 1\)

    PHP4 comes with a bunch of new functions designed to allow FTP connections over the Web. This article explores the new FTP functions, together with an example of how they can be used to build a browser-based FTP client.

    Please discuss this article in this thread. You can read the article here .
  28. #30
  29. No Profile Picture
    Ducani
    Guest
    Devshed Newbie (0 - 499 posts)
    If you would like to see an article covering a particular topic, please post your request here.
Page 2 of 2 First 12
  • Jump to page:

IMN logo majestic logo threadwatch logo seochat tools logo