Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > BlueVoda Website Builder Forums > Forms

Notices

Forms Discussion and help related to designing and implementing forms in the BlueVoda Website Builder.

Reply
 
LinkBack Thread Tools
  #1  
Old 08-18-2007, 01:49 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Uploads not being sent to upload folder

I made an upload button that sends a file to my /public_html/uploads
folder, but nothing is showing up there.

this is the code Im using

<?php

// Receiving variables

@$email = addslashes($_POST['email']);
@$upload_Name = $_FILES['upload']['name'];
@$upload_Size = $_FILES['upload']['size'];
@$upload_Temp = $_FILES['upload']['tmp_name'];


// Validation for max file size

if ($upload_Size>0)
{
if( $upload_Size >1000)
{
//delete file
unlink($upload_Temp);
header("Location: error.html");
exit;
}
$uploadFile = "uploads/".$upload_Name ;

@move_uploaded_file( $upload_Temp , $uploadFile);
chmod($uploadFile, 0644);
$upload_URL = "http://www.me3ddd.com/uploads/".$upload_Name ;
}

//Sending Email to form owner

$mailto = "sales@me3ddd.com";
$mailsubj = "Logo Upload";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Your Logo was uploaded successfully :\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
if ($key!="submit")
{
$mailbody .= "$key : $val\n";
}
}
$mailbody .= "upload: $upload_URL\n";
mail($mailto, $mailsubj, $mailbody, $mailhead);

header("Location: thankyou_page.html");

?>

I followed everything from the tutorial.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2  
Old 08-18-2007, 10:02 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

Please provide a link to the form page.

Why don't you simply use ABVFP ? It will upload the files and also attach them in the email that you will recieve.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old 08-18-2007, 08:06 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

AVFB form only allows for 1 upload file, How do I edit if I have several upload files?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old 08-18-2007, 08:08 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

ABVFP allows for UNLIMITED uploads, just the example form that comes with the zip has one. You may add as many as you like. Just add more upload fields in the form.

As said, this is an example form. You may build your own form, as you like it.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old 08-18-2007, 08:09 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

oh...and I also need other elements like drop downs and chk boxes..so this may not be the way to go
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old 08-18-2007, 08:12 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

how do I edit the form..I dont see an option to add elements
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old 08-18-2007, 08:13 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

Quote:
Originally Posted by willc View Post
oh...and I also need other elements like drop downs and chk boxes..so this may not be the way to go
Maybe you have not read carefully the ABVFP features. It will process correctly ANY form, with ANY type of field, including multiple selection dropdowns. In fact, there is no type or number of fields that it can not process.

The form is made in BV. You can find it under the "BV pages" folder in the zip. Just open it in BV and edit it. Or create your own, as you like it.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #8  
Old 08-18-2007, 08:50 PM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

George dont I need to edit the uploadaction form to reference the files in the AFPB folder?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #9  
Old 08-18-2007, 09:12 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

What do you mean "uploadaction form ?"

If you use ABVFP you simply create a form as you like it, set it up with ABVFP as per tutorial, and you are done. ABVFP can process an unlimited number of forms, you simply set up each of them in the ABVFP database, as per tutorial. The tutorial is also included in the ABVFP zip.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #10  
Old 08-19-2007, 12:17 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

George Ive completed the form in Voda but how do I enter a hidden field. WHat do I select?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #11  
Old 08-19-2007, 12:44 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

Double click the form, and when the Form properties dialog box appears, the bottom part is about hidden fields. Click on Add and then give the hiddeen field the name "Formid" EXCACTLY as you see it here, and as value give it 2 or 3 or whatever is the number that ABVFP cp has given you when you set up the form.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #12  
Old 08-19-2007, 01:22 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

now when I click the submit button the URL shows
http://www.yourdomain.com/ABVFP/errorpage.php
with nothing on the page. Where do I find this code?
I checked my upload form and it has my URL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #13  
Old 08-19-2007, 01:40 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

Will, you are not helping me help you. Please provide the form URL so i can have a look at what you have done. And there is NO code that you need to find. Just create your form, publish it, and set it up CORRECTLY using the instructions.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #14  
Old 08-19-2007, 02:06 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

George, I hope this is what your asking for
http://www.me3ddd.com/uploadform.html

you snd like Tom Cruise in Jerry McGuire when he tell Cuba Gooding the same thing...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #15  
Old 08-19-2007, 02:20 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

Good one.

However, it seems that you have mistaken some hings:

1. the email field MUST be Email-Re and not Email-RF
2. The checkboxes and the position fields have {} at the end. Why ?
3. Your form submits. However, it then goes to a 404 Page not found error. Almost certainly, you have mistaken the URLs of the thank you page and the error page. If you wish, use myform to send me the pages links as well as your ABVFP username and password and i will fix it for you.
You will have to edit the mstaken field names yourself as i don't have access to your site
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #16  
Old 08-19-2007, 03:02 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

Got confused with those {} which is whats used on Flash actionscript...where do i chg the URL's to point to the right pages....appreciate you doing it for me but if I dont do it myself I wont learn..so how much time do you spend helping us numnuts?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #17  
Old 08-19-2007, 03:10 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,342
Default Re: Uploads not being sent to upload folder

When you installed BV you have set a username and a password. At this point, type in your browser: http://www.yourdomain.com/ABVFP and login with your username and paswword. Select, from the next screen, what you want to do. If you have already configured your form, you need to select the form from the dropdown, and then check the "Modify an existing form" radio button.
In the next screen, fill in the fields correctly with all the necessary details.
__________________
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!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #18  
Old 08-19-2007, 04:14 AM
Staff Sergeant
 
Join Date: Aug 2007
Location: USA
Posts: 46
Default Re: Uploads not being sent to upload folder

George

The TY page wrks but the load button which is configured in AVFB for max file size is 100k. I loaded a file larger than that but it gave me the TY page instaed of the error page
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit!