We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
IP help please
spacker_2
Posts: 189 Forumite
in Techie Stuff
I have a website where people can fill out an online form and submit some info but just of late ive had a few submissions who have been a bit rude to say the least so on the confirmation page i want their IP to be revealed to them so they might think twice about sending rubbish to me.
But how do I do this I mean what code is needed?
Cheers for any help
But how do I do this I mean what code is needed?
Cheers for any help
0
Comments
-
spacker wrote:I have a website where people can fill out an online form.........
But how do I do this I mean what code is needed?
Cheers for any help
Isn't google wonderful.
:rolleyes::doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:0 -
espresso wrote:
It is as long as you get the correct search criteria, maybe I should of put Ive just spent 40mins searching and no luck yet im quite adapt at using google.
0 -
I'd agree, it works fab as long as you put in the correct key words. I've spent ages before searching for stuff trying to figure out the exact termininology!Indecision is the key to flexibility
0 -
spacker wrote:It is as long as you get the correct search criteria, maybe I should of put Ive just spent 40mins searching and no luck yet im quite adapt at using google.

So was that link above no use to you? Plenty more in less than 4 seconds.:doh: Blue text on this forum usually signifies hyperlinks, so click on them!..:wall:0 -
you are probably best not using javascript as if the user has javascript diabled nothing will show. you are probably better to use php as it is server side, this is the first link off google i got HERE after searching for php ip script0
-
cookie_monster wrote:you are probably best not using javascript as if the user has javascript diabled nothing will show. you are probably better to use php as it is server side, this is the first link off google i got HERE after searching for php ip script
This is exactly what I need otherwise a Internal Server problem arises with Java if not enabled plus the code isnt quite 100% correct for what I need to do.
:beer:0 -
i dont know how advanced your coding skills are mine arent too great when it comes to php but i know its not too hard to have the IP address sent along with the form... that way you may be able to see if someone is say repeat offending and ban if necessary or w/e.0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 353.5K Banking & Borrowing
- 254.2K Reduce Debt & Boost Income
- 455.1K Spending & Discounts
- 246.6K Work, Benefits & Business
- 603K Mortgages, Homes & Bills
- 178.1K Life & Family
- 260.6K Travel & Transport
- 1.5M Hobbies & Leisure
- 16K Discuss & Feedback
- 37.7K Read-Only Boards