Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8385417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T17:39:52+00:00 2026-06-09T17:39:52+00:00

I am using XAMPP The DocumentRoot is C:/xampp/htdocs I want to upload files to

  • 0

I am using XAMPP

The DocumentRoot is C:/xampp/htdocs

I want to upload files to C:/DATA/SLIDES

Is this possible (without changing Apache’s default DocumentRoot).

I’d like to add its a FRESH install of XAMPP.

PHP INI files are the default settings.
What changes do I need to make to PHP.INI to make this work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T17:39:54+00:00Added an answer on June 9, 2026 at 5:39 pm

    Yes. PHP does not know or care about Apache’s DocumentRoot setting. All that matters are OS-level file/directory permissions and any restrictions you’ve enabled in php.ini

    Example:

    $tmp_name = $_FILES['uploaded']['tmp_name'];
    $destination = 'c:/DATA/SLIDES/' . $_FILES['uploaded']['name'];
    move_uploaded_file($tmp_name, $destination);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can this be done? Basically I work on multiple projects using xampp, and I
I am using xampp on Windows Vista. I want to run a php script
I have an Apache server installed on my windows machine using XAMPP. Now I'm
I want to send a mail from localhost. I am using XAMPP to develop
(Using XAMPP 1.7.7 with PHP 5.3.8) I know how to extract *.7z files with
OS: WinXP Server: Xampp (Apache) After using the zend cli tool to create an
I have an apache server installed on my portable windows 7 machine using xampp
I am using Apache Friends XAMPP in Windows (Local Server). I setup the virtual
I'm very new to this. Why is openssl_pkey_new() returning false? I am using XAMPP
I'm on a japanese system using xampp. This is the line I use to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.