LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 342 users online 223752 members 224 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
hymen terminator
I haven't filled out my profile...
Days Active: 5
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
2 online / 32 MPM
Fresh Topics
  LiveWire / Technical Forums / Software Tech Support / Adding Reply

Adding Reply
Archived Topic: It will not be bumped to the top of the forum.
Topic Free PHP File Upload Script
Membername   Not a member? Sign Up Free (takes 20 seconds)
Password   Forgotten your password?
Post

Font:   Size:   Color:

FAQ Keyword Search:
Post Options
Favorites Manager
Notify me of new replies to this topic by email
Notify me of new replies to this topic by private message
Original Post
Daveh Posted at 5:36 pm on Aug. 3, 2008
Hello

I'm looking for a PHP file upload script which will allow me to upload a file to my website via a browser. It's important that it echos the upload location. I have had a look everywhere and can't find a suitable one.

I can find them with an AJAX progress bar and lots of fancy stuff although it's best if it's left simple.

Anyone have one or know where to download one?

Many Thanks

p.s if you can give me a link or send me one i'll transfer you over 150 points

edit: points allready given to allsmiles

Replies
allsmiles Posted at 6:04 am on Aug. 4, 2008
The file is uploaded to a temporary location identified with the variable $file['tmp_name'] (where file's whatever you named the variable). You would use a command such as move_uploaded_file($file['tmp_name'], "new/directory/filename.ext"); to relocate it to a permanent location. That's its new address ;)
Daveh Posted at 5:39 pm on Aug. 3, 2008
Quote: from allsmiles at 5:37 pm on Aug. 3, 2008

It's really simple stuff. You should learn how to program one yourself. It'll be good practice.

I am hoping too, though it's kinda urgant and i'm hoping to get one within the next 24 hours which is working. I'm looking at some tutorials now but they are not showing how to echo the file location.
allsmiles Posted at 5:37 pm on Aug. 3, 2008
It's really simple stuff. You should learn how to program one yourself. It'll be good practice.
All 3 previous replies displayed.