wamp server configuration / settings
Posted by: bogdan_nicholas (---.static.pitesti.rdsnet.ro)
Date: January 04, 2014 08:04PM

Hello everybody!
At first, i want to say that i am new around here, and i am a novice.
I saw some html code in one of David Malan's course and it goes like this :

<html>
<head>
<title>My Google Search</title>
<body>
<form action="[google.com];
<input name="q" type="text" />
<br />
<input type="button" value="My Google Search" />
</form>
</body>
</head>
</html>

I have currently installed wamp server and all his features(apache, php, mysql), and i put it online even.
According to this html code, when i open my firefox browser and open my html through wamp server, when i type something in the text filed,and push "my google search" button i get no response...nothing happens...why is that??? Do i missing some settings in Wamp server??

In the example i saw, if u fill the textbox with some text, and push the button, it shoud appear the result find in google itself. The possibile link between the wapm server and [google.com] does not exits? I think is somenthin about host...hosting, but i am not sure...

PLease help me understand ....

Thend u for patience...

Bogdan_Nicholas

Options: ReplyQuote
Re: wamp server configuration / settings
Posted by: RiggsFolly (---.as13285.net)
Date: January 05, 2014 01:15PM

Hi Bogdan,

This is not really a site for HTML coding help but ...


You problem is that you are using an <input type="button" ....> this requires some javascript to complete an action.

If you change your button definition to

<html>
<head>
   <title>My Google Search</title>
</head>
<body>
  <form action="[google.com"]; >
    <input name="q" type="text" />
    <br />
    <input type="submit" value="My Google Search" />
  </form>
</body>
</html>

It will launch you into the google search data entry page

If you then change it to this, it will issue the search to google and present the results of the search

<html>
<head>
   <title>My Google Search</title>
</head>
<body>
  <form action="[google.com]; >
    <input name="q" type="text" />
    <br />
    <input type="submit" value="My Google Search" />
  </form>
</body>
</html>

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: wamp server configuration / settings
Posted by: bogdan_nicholas (---.static.pitesti.rdsnet.ro)
Date: January 07, 2014 07:05PM

Thank u!!!...

Options: ReplyQuote


Sorry, only registered users may post in this forum.