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 07-03-2006, 10:41 PM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Please help me get this form working

I am in need of some assistance please. I am very new to web building, so patience is definitely appreciated. I have reviewed the topics on uploads for forms but my head is spinning! I am trying to get this form functional:

House Of Tracks, Online Recording Studio, Bass Tracks, Guitar Tracks, Drum Tracks, Backing Tracks

This is a music recording site. Right now I am set up where my clients simply e-mail me their MP3 file. I would like to do something more professional - where they can complete this form and e-mail the information with the MP3 as an attachment. I can get the form to function simply as an e-mail. But I cannot get it to attach the MP3 file.

Can anyone help a newbie?

Thanks
Bill
House Of Tracks, Online Recording Studio, Bass Tracks, Guitar Tracks, Drum Tracks, Backing Tracks
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 07-04-2006, 01:21 AM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: Please help me get this form working

Did you follow this post exactly?
http://www.vodahost.com/vodatalk/for...sing-form.html

Can you please post the php file (open in with note pad-copy and then paste it to thread). This way we'll be able to see the script and evaluate it.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
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 07-04-2006, 02:30 AM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Re: Please help me get this form working

Hi Andy

Yes, I think I did. Here is the PHP file:

<html>
<head>
<title>Upload</title>
<body>
<?php
$uploaddir = '/home/housscom/public_html/uploads/';
$uploadfile = $uploaddir . basename($_FILES['userfile']['name']);
echo '<pre>';
if (move_uploaded_file($_FILES['userfile']['tmp_name'], $uploadfile)) {
echo "File is valid, and was successfully uploaded.\n";
} else {
echo "Possible file upload attack!\n";
}
?>
</body>
</html>

I then uploaded this file to my server. However, I do not understand the direction to "place both files in the same directory on your webserver" What other file are they referring to? Is this the proper script to enable the form I am looking to use?

Thanks
Bill
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 07-04-2006, 03:08 AM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: Please help me get this form working

Bill-
I just uploaded a file with your form (small wav file) and it seemed to work. Let me know what you received.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
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 07-04-2006, 06:33 AM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Re: Please help me get this form working

Andy,
I have nothing in my e-mail inbox. Should I be looking elsewhere?

Thanks
Bill
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 07-04-2006, 06:36 AM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Re: Please help me get this form working

Quote:
Originally Posted by Andy128
Bill-
I just uploaded a file with your form (small wav file) and it seemed to work. Let me know what you received.

Andy

OOOh Found it! I went to my Cpanel and it is in my "upload" folder. How do we get it to e-mail me as an attachment with the rest of the form?

Thanks!
Bill
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 07-04-2006, 06:41 AM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,357
Default Re: Please help me get this form working

The above script DOES NOT send you any email. It simply uploads the file in your public_html/uploads folder. Click Index of /uploads

to see the file that Andy has uploaded.

Please note that the script that you have used, by itself only uploads the file. It doesn't allow for any other information to be filled in the form, neither it performs checking for file type, file size etc. It also doesn't send you any email in your mailbox to let you know that a new file has been uploaded. This script was not intended for stand alone use, but as a part of a larger script that would do the rest of the job.
__________________
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 07-04-2006, 05:47 PM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Re: Please help me get this form working

Thank you Naval. That will save me some hair!! Can yopu please advise how I can get that form to function?

Thanks again
Bill

House Of Tracks, Online Recording Studio, Bass Tracks, Guitar Tracks, Drum Tracks, Backing Tracks
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 07-04-2006, 06:42 PM
Andy128's Avatar
Major General
 
Join Date: Dec 2005
Location: Michigan
Posts: 2,282
Default Re: Please help me get this form working

If you re-look at the link in my post above - scroll down to Navals last post. There he gives a link to someone who posted a similar problem/request. I believe that if you follow that thread- you will be able to figure out how it is done.

I am afraid I am if little help as I have not had the need to upload files and therefore, have never written a script for it.

Andy
__________________
My diamond in the rough - www.123gpp.com

* Click here for some BV tutorials (Php mailto Form, I-Frames, Picture display and much, much more!)
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 07-04-2006, 08:43 PM
Corporal
 
Join Date: Jun 2006
Posts: 15
Default Re: Please help me get this form working

Quote:
Originally Posted by Andy128
If you re-look at the link in my post above - scroll down to Navals last post. There he gives a link to someone who posted a similar problem/request. I believe that if you follow that thread- you will be able to figure out how it is done.

I am afraid I am if little help as I have not had the need to upload files and therefore, have never written a script for it.

Andy
Yes Andy I saw that script. I believe it is for videos or images, as opposed to MP3's. I wouldnt know where to begin modifying it or if it could be modified for MP3 files

Bill
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 07-04-2006, 10:03 PM
navaldesign's Avatar
General & Forum Moderator
 
Join Date: Oct 2005
Location: Italy
Posts: 9,357
Default Re: Please help me get this form working

Upoloading has nothing to do with mp3 or wav or, anyway, the file type. If you have an upload script, it will upload anything. Just take that script and modify it- if you need to - to suit your needs.
__________________
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
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 11:48 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176