dan_t 0 Newbie Poster

Hi I'm using wamp on my local machine.
I have my form and php script made but I'm not sure how to place my folder to recieve the file.
ie:

move_uploaded_file($_FILES['file_that_was_uploaded']['tmp_name'],
							$_SERVER['DOCUMENT_ROOT'] . '/images/' . $final_filename);

I'm not sure how to set my path on the serve for my images folder.
Do you have to use the complete path like: c://user/...... all the way to the images folder?

Thanks
Dan

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.