• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

web_user and php

D

dennisbarn

Guest
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
 
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,
 
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
 
Back
Top