WiredWX Christian Hobby Weather Tools
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WiredWX Christian Hobby Weather ToolsLog in

 


descriptionuser information Emptyuser information

more_horiz
how do you get user information such as date and time when the user visits a site?

............................................................................................

user information Charvi10

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

descriptionuser information EmptyRe: user information

more_horiz
Moved from Programming.

Do you mean when they last visit? Click on their profile and look under last visit.

............................................................................................

Please be a GeekPolice fan on Facebook!

user information Lambo-11

Have we helped you? Help us! | Doctor by day, ninja by night.

descriptionuser information EmptyRe: user information

more_horiz
no. that's not what i mean.

I'm making an information site, and i want to know how to get informations like the date and time when the user visits the site, his/her e-mail address, when there's no log-in process. Is that possible?

............................................................................................

user information Charvi10

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

descriptionuser information EmptyRe: user information

more_horiz
Oh! lol. Sorry, I got the wrong idea. Ahahaha

For Time and date, you can use this javascript code:

Code:

<b>Todays Date: </b><script LANGUAGE="Javascript">
<!--
Stamp = new Date();
document.write('' + (Stamp.getMonth() + 1) +"/"+Stamp.getDate()+ "/"+Stamp.getYear() + ' <br> ');
var Hours;
var Mins;
var Time;
Hours = Stamp.getHours();
if (Hours >= 12) {
Time = " P.M.";
}
else {
Time = " A.M.";
}

if (Hours > 12) {
Hours -= 12;
}

if (Hours == 0) {
Hours = 12;
}

Mins = Stamp.getMinutes();

if (Mins < 10) {
Mins = "0" + Mins;
}

document.write('<B>Todays Time:</b> ' + Hours + ":" + Mins + Time + '');

//-->
</script>


But you can't get their e-mail addresses, unless they key them in.

............................................................................................

Please be a GeekPolice fan on Facebook!

user information Lambo-11

Have we helped you? Help us! | Doctor by day, ninja by night.

descriptionuser information EmptyRe: user information

more_horiz
thnx doc! Thank You! I'll just find a way to get their e-mail add Cheesy Grin (sparkly

............................................................................................

user information Charvi10

THIS SIGNATURE IS BY::: AGENT COSMIC ----------QUOTE BY:::TECHY

descriptionuser information EmptyRe: user information

more_horiz
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum