473,406 Members | 2,745 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

PHP and file / image upload

I have written many programs for file / image upload over the years in
perl, but know that I am working more in php I find I need to be able
to do it in php now. I was gonna just do a google serach on how it is
done in php, but I though it would be wiser to ask the members of this
group how they accomplish it instead of relying on the top most hits
on a search that I may be wording wrong.

So, can anyone point me to some trusted docs, examples, etc on how to
handle file uploads on the server side in php?

Thanks in advance

Bill H
Oct 12 '08 #1
3 1876
On 12 Oct, 23:08, Bill H <b...@ts1000.uswrote:
I have written many programs for file / image upload over the years in
perl, but know that I am working more in php I find I need to be able
to do it in php now. I was gonna just do a google serach on how it is
done in php, but I though it would be wiser to ask the members of this
group how they accomplish it instead of relying on the top most hits
on a search that I may be wording wrong.

So, can anyone point me to some trusted docs, examples, etc on how to
handle file uploads on the server side in php?

Thanks in advance

Bill H
http://delicious.com/Captain_Paralytic/upload
Oct 12 '08 #2
Bill H wrote:
I have written many programs for file / image upload over the years in
perl, but know that I am working more in php I find I need to be able
to do it in php now. I was gonna just do a google serach on how it is
done in php, but I though it would be wiser to ask the members of this
group how they accomplish it instead of relying on the top most hits
on a search that I may be wording wrong.

So, can anyone point me to some trusted docs, examples, etc on how to
handle file uploads on the server side in php?

Thanks in advance

Bill H
http://ca.php.net/manual/en/features.file-upload.php

Myron Turner
Oct 12 '08 #3
On Oct 12, 6:20*pm, Myron Turner <turnerm...@shaw.cawrote:
Bill H wrote:
I have written many programs for file / image upload over the years in
perl, but know that I am working more in php I find I need to be able
to do it in php now. I was gonna just do a google serach on how it is
done in php, but I though it would be wiser to ask the members of this
group how they accomplish it instead of relying on the top most hits
on a search that I may be wording wrong.
So, can anyone point me to some trusted docs, examples, etc on how to
handle file uploads on the server side in php?
Thanks in advance
Bill H

http://ca.php.net/manual/en/features.file-upload.php

Myron Turner
THanks Myron and Captain. Just did a brief look (didnt do any coding
yet) at the php.net one and see you need to set your form up a
specific way, what if you are using Flash to upload a file?

Bill H
Oct 13 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Dave Smithz | last post by:
Hi There, I have a PHP script that sends an email with attachment and works great when provided the path to the file to send. However this file needs to be on the same server as the script. ...
1
by: Daniel | last post by:
I have looked everywhere on the web for an answer to this and the only thing I can find is converting the image format when the file is present on the local filesystem. What I want to do is use a...
4
by: Jim Michaels | last post by:
after a file upload, $_FILES is not populated but $_POST is. what's going on here? $_POST=C $_POST=C $_POST=C $_POST=C:\\www\\jimm\\images\\bg1.jpg $_FILES= $_FILES= $_FILES=
1
by: DavidA | last post by:
I have a very simple form and perl script that is to upload a jpg file. I am not familiar with the perl language but copied the code from a text book. It works fine with all browsers except IE....
4
by: SammyBar | last post by:
Hi all, I wonder is it possible to upload the content of an <imgfield to a server. The content of the <imgwas downloaded from a web site different from the one it should be uploaded. The image...
0
by: aris1234 | last post by:
hello.. How to upload image file in page update ..?? i have logic like this : if user upload new image then old image must delete and update DB used new name if user not upload new image then...
3
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
1
by: kksandeep | last post by:
i am using this three files to uplod file. i got this file from net but i think these have some error. i am new to this field plz help the script i found is some helpful but not too that i need ...
1
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
8
johngault
by: johngault | last post by:
I've been working with this PHP page for several days now and I'm stumped. The page is supposed to allow the user to upload up to six images for their profile. When the user adds an image it (the...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.