Hello,
I wrote a program that uploads images to a website using PHP but I'm not liking
how it's currently working.
When the user hits submit, the browser takes a long time, which I know is normal
because it's uploading images, however, I need to write a way to make it show
a progress bar, or at least say "uploading images please wait..."
I was thinking I would make imageuploader.p hp and then pass a $_GET value
with the progress with all of the files posted hidden, after the user chooses
which files to upload. I figured I'd have it upload one file at a time, and use the
header() function to move it to the next step and upload the 2nd file, but I realized
that wouldn't work because header would give me that "header already created"
type error.
The software I'm writing (hopefully) will be very professional and popular, but I
don't want my image uploader to be crap.
Any advice out there??
I wrote a program that uploads images to a website using PHP but I'm not liking
how it's currently working.
When the user hits submit, the browser takes a long time, which I know is normal
because it's uploading images, however, I need to write a way to make it show
a progress bar, or at least say "uploading images please wait..."
I was thinking I would make imageuploader.p hp and then pass a $_GET value
with the progress with all of the files posted hidden, after the user chooses
which files to upload. I figured I'd have it upload one file at a time, and use the
header() function to move it to the next step and upload the 2nd file, but I realized
that wouldn't work because header would give me that "header already created"
type error.
The software I'm writing (hopefully) will be very professional and popular, but I
don't want my image uploader to be crap.
Any advice out there??
Comment