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

entering subdomain from top level domain.

Discussion in 'Plesk for Linux - 8.x and Older' started by seba@, Mar 3, 2006.

  1. seba@

    seba@ Guest

    0
     
    Hey,
    I made a subdomain and I want to upload images and create folders in it from a php script that 's running on the main domain.

    So here is the script:
    /var/www/vhosts/{domain}/httpdocs/

    and here is the subdomain:
    /var/www/vhosts/{domain}/subdomains/{subdomain}/httpdocs/

    But so how can I enter that subdomain from a script in the top level domain.

    cause with mkdir('/var/www/vhosts/{domain}/subdomains/{subdomain}/httpdocs/{dir}');
    it doesn't work.

    Thx in advance,
    seba
     
Loading...