please help, i was tried everything...
Posted by: JuStMe (77.127.42.---)
Date: December 19, 2009 08:09AM

my wamp isn't working anymore... i was update my windows and i'm not sure if this is the problem.
i have a half red icon in the wamp, i was tested the apache he said iss is using port 80, and then i was turn off the iss but it's still not working and i tested again and he said there are no applications that using port 80.
i dont know what to do... thank you very much for helping me.

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: JuStMe (77.127.150.---)
Date: December 20, 2009 05:40AM

someone can help me please? i can't wait please!

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: toumimi (---.193.140-88.rev.gaoland.net)
Date: December 21, 2009 01:24PM

Hum.. what is your problem ?
What happens if you try to start Apache service ?
Is your wamp icon white or yellow ?

Then check your hosts file (windows/system32/drivers/etc/hosts without extension).
It should only contain line
127.0.0.1 localhost

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: JuStMe (77.126.196.---)
Date: December 30, 2009 04:39AM

ok i fixed the problem, i have one question, how i can send mail throw wamp and php?
i mean this function isn't working on wamp... Y?

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: toumimi (---.adslgp.cegetel.net)
Date: December 30, 2009 05:09AM

there is no mail server packaged in Wamp, for security reason.
They don't want your webserver be using to do spamming.
Anyway, you can use a public mail server, like your FAI mailserver for example...

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: mayankpd (---.8.176.122.airtelbroadband.in)
Date: December 30, 2009 10:32AM

I am getting this error when connecting with wamp inbuilt phpmyadmin mysql
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: YES) in C:\wamp\www\addindex.php on line 2
Could not connect: Access denied for user 'root'@'localhost' (using password: YES)

here i was creating simple address book

created database addressbook in phpmyadmin

create table colleague(
id int(10),
firstName varchar(20),
lastName varchar(20),
telephone varchar(20),
email varchar940));


inseted data
2000 mayank pande 9897171214 mayankpd@gmail.com
2001 ravi agarwal 9794452469 ravi.agarwal2@gmail.com







PHP script


<<?php
$con = mysql_connect("localhost","root"," "winking smiley;
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
$db_selected = mysql_select_db("addressBook", $con);
if (!$db_selected)
{
die ("Can\'t use addressBook: " . mysql_error());
}
$sql = "SELECT * FROM Person";
$result=mysql_query($sql,$con);
mysql_close($con);
?>

<!DOCTYPE html PUBLIC-"//w3c/dtd xhtml 1.0 Transitional //EN"
"[www.w3.org];

<html xmlns="[www.w3.org];
<head>
<title>Address Book</title>
</head>
<body>
<H2>Address Book</H2>
<table border="1" cellpadding="2" cellspacing="3" summary="Table holds colleague contact information">
<tr>
<th> ID</th>
<th> First Name</th>
<th> Last Name</th>
<th> Telephone</th>
<th> Email Address</th>
</tr>
<?php
//Loop through all table rows
while($row=mysql_fetch_array($result)) {
echo "<tr>";
echo "<td>" . $row['id']."</td>";
echo "<td>" . $row['firstName']."</td>";
echo "<td>" . $row['lastName']."</td>";
echo "<td>" . $row['Telephone']."</td>";
echo "<td>" . $row['Email']."</td>";
echo"</tr>";
}
mysql_free_result($result);
mysql_close($con);
?>
</table>
</body>
</html>

Options: ReplyQuote
Re: please help, i was tried everything...
Posted by: yfastud (Moderator)
Date: December 31, 2009 04:47PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.