1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

web_user and php

Discussion in 'Plesk for Linux - 8.x and Older' started by dennisbarn, Nov 9, 2005.

  1. dennisbarn

    dennisbarn Guest

    0
     
    hi all,

    i have a question regarding our web_user directory. Why is my php script cant read this directory? my code snippet
    PHP:
    is_dir(".../web_users/user") ---> returns false
    However
    PHP:
    is_dir(".../httpdocs/user/") ---> returns true
    Is there anyway possible that i could read the files found on web_users directory? i badly needed this so my users will see their files on their respective web_users folder via php script or http. :) Is symbolic link possible? :(

    thanks in advance and regards,

    dennis
     
  2. dennisbarn

    dennisbarn Guest

    0
     
    any idea?

    do i have to actvivate allow php in the web_user and instead put the script in each web_user directory rather than in the doc_root?

    thanks and any help is appreciated :D

    regards,
     
  3. dennisbarn

    dennisbarn Guest

    0
     
    well after some time of inqueries i guess it's not possible to access web_users folder unless i have those 2 imp. params i.e. (ftp_username & ftp_password). as for php, ftp_nlist() was the soln. :D
     
Loading...