• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Input Save file via php-Script ?

omexlu

Regular Pleskian
Hello,

Is it possible to use php-script to create a file from the main domain to the documentRoot of the subdomain?

For example:
domain.tld = this is where the script runs where a file is created.
sub.domain.tld = here the file should be saved.

Is this possible, does the main domain have the right to save a file in the subfolder (documentRoot) of the subdomain?

If so, what is the best way to proceed here?

Thanks in advance.
 
Hello,

Is it possible to use php-script to create a file from the main domain to the documentRoot of the subdomain?

For example:
domain.tld = this is where the script runs where a file is created.
sub.domain.tld = here the file should be saved.

Is this possible, does the main domain have the right to save a file in the subfolder (documentRoot) of the subdomain?

If so, what is the best way to proceed here?

Thanks in advance.
if you configure correctly your open_basedir, you can do it without any problem.
 
Back
Top