Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

Trying to make a form that will forward to this php page.

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Trying to make a form that will forward to this php page.

Postby webhostpro » Sat Jul 19, 2014 8:04 pm

I just installed this new script here http://webhost.pro/domain-check.php it's a basic domain availability tool.

I am trying to make a form that can be used on any page forward to this page with the content.

The page loads with this in the url webhost.pro/domain-check.php?domain=dwhs.net and will run the page.

So I can make a form that just submits to that page and sends the details.

I made this page for testing

http://webhost.pro/test.html

But no go, here is the code:

<form id="search" action="/domain-check.php" method="GET">
<input type="text" name="s">
<a onClick="document.getElementById('search').submit()" class="button1">Search</a>
<div class="clear"></div>
</form>


Thanks!
User avatar
webhostpro
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sat Jul 19, 2014 7:59 pm
Location: WebHost.pro

Re: Trying to make a form that will forward to this php page

Postby landi » Mon Aug 04, 2014 9:35 am

Do you still have a problem? The test page seemed to work for me :)
- A
landi
New php-forum User
New php-forum User
 
Posts: 243
Joined: Thu Mar 15, 2012 3:59 pm


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 2 guests

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.

cron