@ php.net
- I don't use PHP.. Can i just make a site with .htm? And insert the codes..?
Will anything change if i do that, or?
THANKS, I would love to +rep you.. But you're Cautioned, so i can't..

@ php.net
- I don't use PHP.. Can i just make a site with .htm? And insert the codes..?
Will anything change if i do that, or?
THANKS, I would love to +rep you.. But you're Cautioned, so i can't..
Yeah, it doesn't have to be .php, I just usually save my HTML documents as .php if I'm logging anything. Must be a habit putting in .php!
@ php.net
- Ok
*Off topic* - Do you have a script/code that sends the IP number of someone, when they contact you? Like IP script.. ex. like clubhabbo.net > Contact Form, "You're IP Number Will Be Sent With This Form"
Thats in their Panels eg Admins in DJ Panel can send alerts I think housekeeping has it www.habboring.com
But i had a html code before, that showed people's IP number, when they contact me through me fansite.. But i can't find it anymore.
If the form is being sent by e-mail, put this bit of code in:
If you need help with making the actual form PHP then let me know.Code:<? if($_SERVER['REQUEST_METHOD'] != "GET") { $ip = $_SERVER['REMOTE_ADDR']; //Turns the IP to a variable. } $msg = " Their IP Address: $ip "; // Sends the IP as a variable in the message. ?>
Kind Regards,
Guy__________________
Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
Tech-Hosts.co.uk.
You're on the wrong track.Thats in their Panels eg Admins in DJ Panel can send alerts I think housekeeping has it www.habboring.com
Big-Muscle, a brilliant one has been written by Jamie Cassedy (not sure on his HxF forum username). ClubHabbo use this one too.
http://www.clubhabboforum.net/showthread.php?t=55921
Sorry, but i want people to see their IP number too.. Like, your IP Number is: 207.0.0.1 or something-..If the form is being sent by e-mail, put this bit of code in:
If you need help with making the actual form PHP then let me know.Code:<? if($_SERVER['REQUEST_METHOD'] != "GET") { $ip = $_SERVER['REMOTE_ADDR']; //Turns the IP to a variable. } $msg = " Their IP Address: $ip "; // Sends the IP as a variable in the message. ?>
But it should come on the mail too.
Sure, make the page they are viewing .php and put this code where you want their IP to show:
Code:<? // Below line will get the IP address from their browser $ip = getenv("REMOTE_ADDR") ; echo "Your IP was logged for security:" . $ip; ?>
If that doesn't work let me know - but it should.
Kind Regards,
Guy__________________
Since 2007. Unbelievable Uptime. Web hosting, resellers, master resellers, linux VPS, windows VPS, shoutcasts, at the lowest prices on the net.
Tech-Hosts.co.uk.
At above, never use php shortags unless the coding's for your own server.
Want to hide these adverts? Register an account for free!