• Welcome to AcornDomains.co.uk, a friendly community for UK domain investors, developers and anyone interested in domain names.

    Whether you're looking to buy or sell domains, learn more about the UK domain market, get feedback on your names, or simply chat with other domainers, you're in the right place. AcornDomains has been bringing together people from across the UK domain industry for many years, from complete beginners to experienced investors.

    Have a look around, join the discussions and, if you haven't already, create a free account and introduce yourself.

Wanted: Service HTML Web Form HELP

Status
Not open for further replies.
Is it that complicated to sort yourself? Just Google it and you can have it done in the time that it would take you to eat a mango...
 
Thanks guys, some great links to look at

Alan, all my other sites are word press but ive had so much trouble with plugins being hacked and sites being taken of line, I just wanted to go old skool method with html

ive had a couple of pms today from members that said they can do it for £75
 
Thank you AssetDomains, I have gone with your choice installed and running fine.

It also captchas ip addresses and I have looked through the code but I was wanting to also add these

http://www.php.net/manual/en/function.gethostbyname.php
http://www.php.net/manual/en/function.gethostbyaddr.php

You could just add something like

PHP:
<input type="hidden" name="hostname" value="<?php $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);echo $hostname;?>">

However it will probably slow your form submit down somewhat, it would be better to do it in post processing.
 
Hi Jon,

I did lots of test emails through the form but it was showing

ip address: 206.206.206.206
hostname: 206.206.206.206

i emailed code canyon support and they told me if there was no hostname it would return back an ip. I got my mate of here this morning to try and its showing his ip and hostname over at bt so its working great, I just need to grab the browser info that the user is using to go through my form ?

Can you help please?
 
Hi Jon,

I did lots of test emails through the form but it was showing

ip address: 206.206.206.206
hostname: 206.206.206.206

i emailed code canyon support and they told me if there was no hostname it would return back an ip. I got my mate of here this morning to try and its showing his ip and hostname over at bt so its working great, I just need to grab the browser info that the user is using to go through my form ?

Can you help please?

How much traffic is the form to be getting if its low is it an option just to look up who was visiting at a given time using statcounter or some other analytics type package.
Alternatively maybe some JavaScript could be used to pass such info to a hidden field on pageload
 
I would say not alot of traffic at all but years ago I had a form like this which did give me alot more info on the possible buyer so I could gage a price they would end up buying.
 
actually I think this should work

<?php
echo $_SERVER['HTTP_USER_AGENT'];
?>

Just pass it to a hidden field
 
I would say not alot of traffic at all but years ago I had a form like this which did give me alot more info on the possible buyer so I could gage a price they would end up buying.

Suppose it could be handy to get it all in the email as traffics so low on Assetdomains I just go to Statcounter and see who was on the contact form at the given time
 
Hi Jon,

I did lots of test emails through the form but it was showing

ip address: 206.206.206.206
hostname: 206.206.206.206

i emailed code canyon support and they told me if there was no hostname it would return back an ip. I got my mate of here this morning to try and its showing his ip and hostname over at bt so its working great, I just need to grab the browser info that the user is using to go through my form ?

Can you help please?

This would work

PHP:
 <input type="hidden" name="browser" value="<?php $browser = $_SERVER['HTTP_USER_AGENT'];echo $browser;?>">

Creating a variable should not be completely necessary but could be useful you do anything else with it. It would just be the same for any other Server Variable, just change the input "name" and php $variable
 
There's no point having an input for the IP address, it'll just get spoofed if someone wanted to spam the form or use it for any reason they shouldn't be. You should be recording the IP on the server side.

If you post your code I'll help you out.
 
Status
Not open for further replies.
Top Bottom