Jump to content

Newbee question


georgebaker

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.

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.

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.