LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 554 users online 186373 members 832 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
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
4 online / 25 MPM
Fresh Topics
  LiveWire / Technical Forums / Software Tech Support / Viewing Topic

Free PHP File Upload Script
150 points avaliable
Replies: 3Last Post Aug. 4 6:04am by allsmiles
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( daveh )


Professional

Patron
Reply
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

Post edited at 6:46 am on Aug. 4, 2008 by daveh


5:36 pm on Aug. 3, 2008 | Joined Mar. 2008 | 133 Days Active
Join to learn more about daveh England, United Kingdom | Straight Male | 633 Posts | 2354 Points
allsmiles


Soothsayer

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

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

5:37 pm on Aug. 3, 2008 | Joined Aug. 2007 | 366 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 6465 Posts | 12449 Points
( daveh )


Professional

Patron
Reply
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.

5:39 pm on Aug. 3, 2008 | Joined Mar. 2008 | 133 Days Active
Join to learn more about daveh England, United Kingdom | Straight Male | 633 Posts | 2354 Points
allsmiles


Soothsayer

Ad Free
Reply
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 ;)

-------
When they leave me, they're all smiles.
When they leave you, they're in tears.

6:04 am on Aug. 4, 2008 | Joined Aug. 2007 | 366 Days Active
Join to learn more about allsmiles England, United Kingdom | Male | 6465 Posts | 12449 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Software Tech Support / Viewing Topic