By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
462,099 Members | 763 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 462,099 IT Pros & Developers. It's quick & easy.

how to get upload file's complete path

P: 1

I am still fresher in php. so i need help...

How to get upload file's complete path and how to store it in DB

Expand|Select|Wrap|Line Numbers
  1. move_uploaded_file($_FILES['file']['tmp_name'],"c:/Indu/".$_FILES['file']['name']);
I upload file using above code..

I need to get a complete path including file name using php.

and tell me how to store it in DB.

Aug 27 '09 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 8,639
there are some nice articles in the PHP insights section.
Aug 27 '09 #2

Post your reply

Sign in to post your reply or Sign up for a free account.