LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 681 users online 211080 members 1162 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
ToyJetpack
Music: Anathallo, Aloha, Battles, Crystal Cast...
Mood: Shy
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
9 online / 22 MPM
Fresh Topics
  LiveWire / Technical Forums / Software Tech Support / Viewing Topic

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


Wealthy Hobo

Patron
Tech Support Leader
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 | Days Active: 264
Join to learn more about Daveh England, United Kingdom | Male | Posts: 1,270 | Points: 4,114
allsmiles


Enlightened One

Patron
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 | Days Active: 507
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,011 | Points: 14,169
( Daveh )


Wealthy Hobo

Patron
Tech Support Leader
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 | Days Active: 264
Join to learn more about Daveh England, United Kingdom | Male | Posts: 1,270 | Points: 4,114
allsmiles


Enlightened One

Patron
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 | Days Active: 507
Join to learn more about allsmiles England, United Kingdom | Male | Posts: 8,011 | Points: 14,169
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