![]() |
|
| |||||||
| Notices |
| Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder. |
![]() |
| | LinkBack | Thread Tools |
|
#32
| |||
| |||
| I have a problem with this. My website is http://www.ffaproam.com/ And the upload page is http://www.ffaproam.com/uploadform.php My problem is, when someone fills out the info and clicks submit it works fine but the file doesnt get uploaded or anything. I have used BlueFTP and made a file in public_html called uploads. I made its permision777. I added the php script in notepad, editied it, and put that into public_html using BlueFTP. Also, when I get the e-mail after someoen fills out the upload form, it has their video name, e-mail, but where the upload link is it looks like this basicly: Video Name:Test E-mail:Jackshinta@ffaproam.com upload: Upload is blank |
|
#33
| ||||
| ||||
| Please look at the other thread you have posted. And post here the php script code.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#34
| |||
| |||
| Quote:
|
|
#35
| ||||
| ||||
| Ok, your problem is very simple: you have renamed your upload field, in the form, in "uploadfile" while in the script is "upload". That is why you don't get a value or actual upload. Rename it back to "upload" and it should work. Also, please note that php will not allowyou to upload files bigger than 52 MB (you have set it to 200 MB). Files bigger than 52 MB can only be FTPed
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#37
| ||||
| ||||
| Please note that you have published the corrected form as php. Correct the extension back to html and publish again
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#38
| |||
| |||
| Another question. Ive set the upload to 200mb max. Is there anyway I can add a gile upload progress bar? maybe one that pops up inot a new window which states how much the progress the file is in uploading and the file name? similiar to useruploads.mythica.org?? |
|
#39
| |||
| |||
| uhh can anyone please help? |
|
#40
| ||||
| ||||
| A progress bar requires the use of Javascript and AJAX together with PHP. I have only found one script on the net about this, but seems that the relative download link is no more functioning.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#41
| |||
| |||
| I know in frontpage you can set folder properties so file uploads can not overwrite existing files. If a uploaded did this the form would redirect them to an error page stating to rename the file and try again. I am trying to get away from using frontpage, so I used your code from above to modify my form. I had to combine some of the validation to get it to work... I kept getting an Parse error: parse error, unexpected $ in the last line. However, I'm affraid that some people may have the same file name when uploading photos... Is their something I can add to the script to prevent overwriting and a possible error page telling them how to correct the problem. Or even a number being automaticly added to the file name. Is it possible to send the information to a file on the server too? Thanks for the help in advance. I'll send you a digital music coupon. Here is my form: http://www.capitalareaapartments.com/uploadform.htm Code: <?php // Receiving variables @$email = addslashes($_POST['email']); @$upload1_Name = $_FILES['upload1']['name']; @$upload1_Size = $_FILES['upload1']['size']; @$upload1_Temp = $_FILES['upload1']['tmp_name']; @$upload2_Name = $_FILES['upload2']['name']; @$upload2_Size = $_FILES['upload2']['size']; @$upload2_Temp = $_FILES['upload2']['tmp_name']; // Validation for max file size if ($upload1_Size>0) { if( $upload1_Size >1000000) { //delete file unlink($upload1_Temp); header("Location: error.html"); exit; } $uploadFile = "uploads/".$upload1_Name ; @move_uploaded_file( $upload1_Temp , $uploadFile); chmod($uploadFile, 0644); $upload1_URL = "<A href="http://www.capitalareaapartments.com/uploads/".$upload1_Name">http://www.capitalareaapartments.com/uploads/".$upload1_Name ; } if ($upload2_Size>0) { if( $upload2_Size >1000000) { //delete file unlink($upload2_Temp); header("Location: error.html"); exit; } $uploadFile = "uploads/".$upload2_Name ; @move_uploaded_file( $upload2_Temp , $uploadFile); chmod($uploadFile, 0644); $upload2_URL = "<A href="http://www.capitalareaapartments.com/uploads/".$upload2_Name">http://www.capitalareaapartments.com/uploads/".$upload2_Name ; } //Sending Email to form owner $mailto = "sales@capitalareaapartments.com"; $mailsubj = "Ad Listing"; $mailhead = "From: $email\n"; reset ($HTTP_POST_VARS); $mailbody = "Values submitted from web site form :\n"; while (list ($key, $val) = each ($HTTP_POST_VARS)) { if ($key!="submit") { $mailbody .= "$key : $val\n"; } } $mailbody .= "upload1: $upload1_URL\n"; $mailbody .= "upload2: $upload2_URL\n"; mail($mailto, $mailsubj, $mailbody, $mailhead); header("Location: orderconfirm.htm"); ?> Thank you for the code, it was the only site that explained it perfectly!!! -Tony |
|
#42
| ||||
| ||||
| Yes, there are scripts that will make an incremental saving. Since this is only a forum for our members, not for programming talk, we do no go so deep in the scripts that we post. Go in php.net and see the upload function parametres, i beleive there are some examples of how to make incremental save. Now, as for your script, it seems correct (apart the part that has been modified by this forum's text editor, pursing links even when it shouldn't) Does the script get to upload the files and send the mail ? or doesn't it ? And yes, you can write the data in a file on your server. I simply never use this method, as i prefer storing all the info in a database. The database approach allows for research features, dynamic resizing of the images, realtime registration of the users, anyminute editing possibilities, payment followup, etc. But this exceeds the tutorial's purposes.
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#43
| |||
| |||
| Quote:
Yes, it uploads the file and sends the email containing the links to the photos. I've spent countless hours trying to get a php form to work... got yours to work in 10 minutes. Thanks... I'll take a look at the php site. I didn't even realize you are in Italy! |
|
#44
| ||||
| ||||
| Have a look at http://it.php.net/manual/en/function...oaded-file.php
__________________ Navaldesign Logger Lite: Low Cost, Customizable, multifeatured Login script Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more.... Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA! |
|
#45
| |||
| |||
| Quote:
Hi, Having some trouble getting this script to run, the single upload version works fine, however this one fails on the rediret, both on the error redirect and the thank you one. I get the following message: Parse error: syntax error, unexpected $end in /home/gopriva1/public_html/test/uploadaction.php on line 93 Yet if I switch back to the single upload version all works fine. Am I missing sometihng? Many thanks Chris |
|
#47
| ||||
| ||||
| Why don't you use ABVFP ? it will take care of as many uploads you like, and will also attach the files to the email that you will receive. It also allows autoresponder, multiple choice dropdowns and a lot more. And, if you want, it will also store the form info in a database. |