Jump to content

Recommended Posts

I'm new to PHP.

I just want to ask if it's possible to make a php script that will sent me a email when someone visit a specific website(my own).

 

If you could point in the right direction on how to code it, it would be great. Maybe there's already some script out there that can do that.

 

Thank you in advance.

Edited by georgebaker
Link to comment
https://forums.phpfreaks.com/topic/283730-newbee-question/
Share on other sites

As in visiting a specific page...or if someone visits any page on a website? It might also help if you provide a little more information on what you're trying to accomplish. To be honest, getting an email every time someone visits a page seems inefficient.

 

If you're just interested in knowing how people visit the website, you could utilize something like Google Analytics:

http://www.google.com/analytics/

Link to comment
https://forums.phpfreaks.com/topic/283730-newbee-question/#findComment-1457580
Share on other sites

As in visiting a specific page...or if someone visits any page on a website? It might also help if you provide a little more information on what you're trying to accomplish. To be honest, getting an email every time someone visits a page seems inefficient.

 

If you're just interested in knowing how people visit the website, you could utilize something like Google Analytics:

http://www.google.com/analytics/

Visit a specific page e.g. supportlab.dk/optimization

 

I want to see whenever someone is on the url above and want the script to sent me a mail that someone have been there. I want to see that e.g. on johnnylai.me/test (where the script are)

 

I use Google Analytics but i think it's overkill here.

Edited by georgebaker
Link to comment
https://forums.phpfreaks.com/topic/283730-newbee-question/#findComment-1457582
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.