473,398 Members | 2,380 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,398 software developers and data experts.

Uploading Files

chunk1978
224 100+
on my form it's possible for users to upload large files onto the server...

Question 1: when the user presses the "submit form" button, will the browser be directed immediately to the "thank you" page, or will it first rest on the form page while the files upload, and then goto the "thank you" page after the files have been uploaded?

Question 2: if anyone can direct me to a strong example of a PHP script that will upload files, send email to the user that can include what they filled in on the form, and redirect the user to a "thank you" page, i would be very grateful :-)

phew PHP is confusing... :-)

thanks...
Apr 5 '07 #1
2 1219
on my form it's possible for users to upload large files onto the server...

Question 1: when the user "submit forpresses the m" button, will the browser be directed immediately to the "thank you" page, or will it first rest on the form page while the files upload, and then goto the "thank you" page after the files have been uploaded?

Question 2: if anyone can direct me to a strong example of a PHP script that will upload files, send email to the user that can include what they filled in on the form, and redirect the user to a "thank you" page, i would be very grateful :-)

phew PHP is confusing... :-)

thanks...

Hi.

firstly, you shall be directed to the thank you page only if there is a successfull file upload. Else you shall land up in an error page instead. Successful file upload will take you to the thank you page.

And next, what sort of files are you uploading?

Regards
CyberKing
Apr 6 '07 #2
chunk1978
224 100+
Hi.

firstly, you shall be directed to the thank you page only if there is a successfull file upload. Else you shall land up in an error page instead. Successful file upload will take you to the thank you page.

And next, what sort of files are you uploading?

Regards
CyberKing
hey CyberKing

thanks for the reply... i'll be uploading image files with the following file extensions: .jpg, .jpeg, .psd, .tiff, .png, and a few others... my client-side javascript will validate those file extensions, but i suppose i should also validate the file type in the .php script, oh and i'll be tweeking the htaccess( ? i guess) to allow for a 15MB max on each image...

i have a thank you page already set up, i just assume the thank you page direct after a successful file upload will just be a simple http link within the .php script, and not a part of the .php script...
Apr 6 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
5
by: Kevin Ollivier | last post by:
Hi all, I've come across a problem that has me stumped, and I thought I'd send a message to the gurus to see if this makes sense to anyone else. =) Basically, I'm trying to upload a series of...
5
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
0
by: Raj | last post by:
Hello, I am planning to provide the Pause/Resume while uploading files. Our site is using both java applet and activex to do this. The list of selected files will be stored in an encrypted...
221
Atli
by: Atli | last post by:
You may be wondering why you would want to put your files “into” the database, rather than just onto the file-system. Well, most of the time, you wouldn’t. In situations where your PHP application...
2
by: =?ISO-8859-1?Q?=22=C1lvaro_G=2E_Vicario=22?= | last post by:
jodleren escribió: I haven't found the PHP manual page where such feature is documented but a few tests have shown that this behaviour changes depending on the charset parameter of the...
1
by: =?Utf-8?B?RGFu?= | last post by:
MS won't seem to let me reply to my old post, so I created a new one. The error occurs in all browsers. It's definitely a server issue, not client. The server is not proxied in any way. I tried...
3
by: muziburrehaman | last post by:
i am looking for code in php to upload the 1 gb files. any one can please help me by sending the code....
0
by: LoriFranklin | last post by:
I'm a bit of a newbie here. I've learned a lot from reading the posts you all have here. I need some help uploading files using an asp form. I am using some code that I found from Jacob at...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.