PDA

View Full Version : install ?'s for WAMP


deafboyzaudio
07-21-2009, 07:06 PM
ok i searched the forum and didnt find this anywhere so.. I was viewing the tutorial on Installing PHP/MySQL/Apache with WAMP Server for Dreamweaver (http://www.dreamweaverclub.com/vtm/wamp-dw.php) and everything was goin good until the part about changing the password in the config.inc file to say root. The file that neonfluxx changed that option in is not the same file i had. his had more text and mine was only 67 bytes with a lot less text. The addition of password root was supposed to make the server work but it has not... here is what my file looked like. and ideas? thanks


<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'root';
$cfg['Servers'][$i]['AllowNoPassword'] = true;
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>

gigiloumill
07-22-2009, 01:14 AM
Are you looking at this in PHP Myadmin ot in Config.inc?

deafboyzaudio
07-22-2009, 04:45 AM
it is actually in then wamp/apps/phpmyadmin3.2.0.1 in the file folder it is saved as config.inc. i figured it out....when the files downloaded somehow they got all mixed up or somethin. i found 3 different config.inc files. the one i needed was in a totally different folder than the one that was indicated on the video. it took a few hours but after a lil tweakin WAMP server is up and running... I do have ANOTHER QUESTION though if all the talented coders out there would be so kind.... this form only send me the name and feedback when its sent to my e mail... how do i get the rest to send like the age and location and email and such??? also, my page says "submit query" when i access it (www.deafboyzaudio.com/feedback.htm (http://www.deafboyzaudio.com/feedback.htm)), and its supposed to say "submit" my styles dont say the other anywhere...thanks for any help.

<div id="mainContent">
<form method="post" action="mail.php">
<table border="3" align="center" cellpadding="1">
<tr>
<td>Name:</td>
<td><input name="name" type="text" class="namefield" size="23" maxlength="23" />
Age:<select name="select" id="select"><option value="??">??</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>
<option value="32">32</option>
<option value="33">33</option>
<option value="34">34</option>
<option value="35">35</option>
<option value="36">36</option>
<option value="37">37</option>
<option value="38">38</option>
<option value="39">39</option>
<option value="40">40</option>
<option value="41">41</option>
<option value="42">42</option>
<option value="43">43</option>
<option value="44">44</option>
<option value="45">45</option>
<option value="46">46</option>
<option value="47">47</option>
<option value="48">48</option>
<option value="49">49</option>
<option value="50">50</option>
<option value="51">51</option>
<option value="52">52</option>
<option value="53">53</option>
<option value="54">54</option>
<option value="55">55</option>
<option value="56">56</option>
<option value="57">57</option>
<option value="58">58</option>
<option value="59">59</option>
<option value="60">60</option>
<option value="61">61</option>
<option value="62">62</option>
<option value="63">63</option>
<option value="64">64</option>
<option value="65">65</option>
<option value="66">66</option>
<option value="67">67</option>
<option value="68">68</option>
<option value="69">69</option>
<option value="69+">69+</option>
</select></td>
</tr>
<tr>
<td>Location: </td>
<td><input name="E-mail" type="text" class="namefield" size="37" maxlength="37" /></td>
</tr>
<tr>
<td>E-mail: </td>
<td><input name="E-mail" type="text" class="namefield" size="37" maxlength="37" /></td>
</tr>
<tr>
<td>Check This Out... </td>
<td><textarea name="data" cols=29
rows=4 class="namefield">Know something you want on the site? Put it down here. (links accepted)</textarea></td>
</tr>
<tr>
<td>Feedback: </td>
<td><textarea name="data" cols=29
rows=6 class="namefield"></textarea></td>
</tr>
<tr>
<td colspan="2"><input name="Submit" type="Submit" id="Submit" /></td>
</tr>
</table>
</form>
</div>