PHP versions

Ryuji666

New Member
Messages
20
Reaction score
0
Points
0
I have recently set up a form that is linked with bravenet.com which sends my form after submit to my hotmail account i was wondering though if id need V2 of PHP to do this code that it executes

heres the code....


<form method="post" enctype="multipart/form-data" action="http://pub33.bravenet.com/emailfwd/senddata.php">
<input type="hidden" name="usernum" value="2748862023">
<input type="hidden" name="cpv" value="2">
<!-- DO NOT CHANGE OR REMOVE THE 3 TAGS ABOVE THIS COMMENT-->
<table border="0" cellpadding="0" cellspacing="0" align="center">
<tr>
<td><h3 style="border-bottom:1px solid black;">E.P.I.C. Application Form</h3></td>
</tr>
<tr>
<td>
<label for="firstname" style="float:left;width:140px;">First Name:</label><input type="text" name="firstname" id="firstname" value="" maxlength="20" style="width:200px;"><div style="clear:left;height:20px;"> </div>
<label for="lastname" style="float:left;width:140px;">Last Name:</label><input type="text" name="lastname" id="lastname" value="" maxlength="20" style="width:200px;"><div style="clear:left;height:20px;"> </div>
<label style="float:left;width:140px;" for="dateofbirth">Date of birth:</label><select name="dateofbirth" id="dateofbirth"><option value="janurary" selected>Janurary</option><option value="february">February</option><option value="march">March</option><option value="april">April</option><option value="may">May</option><option value="june">June</option><option value="july">July</option><option value="august">August</option><option value="september">September</option><option value="october">October</option><option value="november">November</option><option value="december">December</option></select><div style="clear:left;height:20px;"> </div>
<label style="float:left;width:140px;" for="date">Date:</label><select name="date" id="date"><option value="01">01</option><option value="02">02</option><option value="03">03</option><option value="04">04</option><option value="05">05</option><option value="06">06</option><option value="07">07</option><option value="08">08</option><option value="09">09</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option></select><div style="clear:left;height:20px;"> </div>
<label for="year" style="float:left;width:140px;">Year:</label><input type="text" name="year" id="year" value="" maxlength="4" style="width:40px;"><div style="clear:left;height:20px;"> </div>
<label style="float:left;width:140px;" for="sex">Sex:</label><select name="sex" id="sex"><option value="male">Male</option><option value="female">Female</option></select><div style="clear:left;height:20px;"> </div>
<label for="email" style="float:left;width:140px;">(Contact) Email:</label><input type="text" name="email" id="email" value="" maxlength="40" style="width:200px;"><div style="clear:left;height:20px;"> </div>
<label for="question1" style="display:block;margin-bottom:5px;">Question 1: What made you decide to join E.P.I.C.?</label><textarea name="question1" id="question1" style="width:450px;height:160px;"></textarea><div style="clear:left;height:20px;"> </div>
<label for="question2" style="display:block;margin-bottom:5px;">Question 2: What position in E.P.I.C. would you like to fill?</label><textarea name="question2" id="question2" style="width:450px;height:160px;"></textarea><div style="clear:left;height:20px;"> </div>
<label for="question3" style="display:block;margin-bottom:5px;">Question 3: What skills do you have that relate to the position you are applying for? (NOTE: If you have other skills that may relate to another position please list.) (All applications are considered regardless of whether one has skills directed towards a position or not.)</label><textarea name="question3" id="question3" style="width:450px;height:160px;"></textarea><div style="clear:left;height:20px;"> </div>
<label for="question4" style="display:block;margin-bottom:5px;">Question 4: Tell us a bit about yourself! Example: What are your hobbies? What do you enjoy doing? What kind of music do you listen to? So on... (Be Reasonable)</label><textarea name="question4" id="question4" style="width:450px;height:160px;"></textarea><div style="clear:left;height:20px;"> </div>

</td>
<tr>
<td align="right">
<!-- YOU CAN MODIFY THE TEXT WITHIN VALUE="" TO MODIFY YOUR BUTTON TEXT-->
<input type="submit" value=" Submit "> <input type="reset" value=" Reset ">
</td>
</tr>
</table>
</form>

sorry for junky look this is a code made by the site not written straight by me i cant write forms but not PHP so i used this to help.. but like i said my question is will this execute in default V1 correctly or do i need V2 for it to work?
Edit:
CAN* write forms sorry lol
 
Last edited:

sunils

New Member
Messages
2,266
Reaction score
0
Points
0
Post the code that sends the mail.. That would be the problem.
 

Ryuji666

New Member
Messages
20
Reaction score
0
Points
0
well theres no problem when i boot it from .html offline it works fine.. i havent attempted it on the site yet due to the site being up and down since the recent updates.. but when booted from offline and hitting submit it send to my mail as it should... this is my full code above for the form all code was made by a program on the bravenet.com site i did not create it... my question is it works offline by sending me the mail.. but will this work if i post the page on my site without the V2 php upgrade? but what i sent before is the full code of what the site gave me i popped it in where i needed it and it works offline.. this is all the info i have... sorry
 
T

themasterrocker

Guest
Can i add that PHP isn't online till later according to Corey (last post in the updates forum) This might be you're problem on PHP.
 

marshian

New Member
Messages
526
Reaction score
9
Points
0
There will be absolutely no problem with php at all, as this code does not contain a single line of it. The only problem that can exist is on the servers off bravenet.com and your browser being a pain in the a__.
 

Ryuji666

New Member
Messages
20
Reaction score
0
Points
0
Yet again i have no problem... i havent even attempted online im just asking whether or not that code above will work on my site when posted. Sorry to sound a little moody but it seems noone understands my previous post... as i sad before there is no issue running the code on .html off the site.. i havent even attempted it on the site yet... what im asking is whether or not this code will work when posted on the actuall site... thanks for the help from everyone whos posted.. but i dont think anyones truly understanding that so far there is no problem... just a question...
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
There will be absolutely no problem with php at all, as this code does not contain a single line of it.
Well I guess this is the answer to your question. If there is another file containing php and using a mail() function, I do think you will need PHP v2, but with that alone you won't.
 

Ryuji666

New Member
Messages
20
Reaction score
0
Points
0
Thanx Salvatos for the answer i needed... that code is all it gave me so i guess i dont need V2 ill give it a shot once server becomes more stable.. thanx again that was what i needed i cant close thread for some reason so whoever sees this please close...
 

Salvatos

Member
Prime Account
Messages
562
Reaction score
1
Points
18
Yea they ask for it but I can't either ^^'
Anyway I'm still confused about your code sending you an e-mail, but it's probably actually Bravenet that gets the info and their servers take care of the e-mailing, from what I get.
 

Ryuji666

New Member
Messages
20
Reaction score
0
Points
0
Yes you are most definetly correct.. its bravenets doing.. i have uploaded the code to the actuall site now and it works perfectly without V2 upgrade ive tested with some other people as well to fill out and submit and it works.. actually speaking of which if anyones interested this is a good service i stumbled upon it works perfectly so far so if anyones looking to do a form linked to their email and they have no knowledge of PHP this is worth looking at.. but all in all it works perfectly as i wished and thanx to all for the help.. and yeah.. salvatos it makes me happy to know im not the only one who isnt able to close thread O_O lol.. thanx again for the help
 

tittat

Active Member
Messages
2,478
Reaction score
1
Points
38
Though Bravenet forms are great for newbie webmasters,it lacks professionalism as when you get advanced.
May i suggest you to learn PHP and setup one contact us page by your own http://www.ibdhost.com/contact/
Its quite easy(not really for a newbie) to setup ;)
Gud luck with it.
 
Top