Jump to content

how find domains that used my php script


fafa0

Recommended Posts

Hello

 

I'm new in PHP but I need a help If it possible.

 

I want to Know which domain used my php script .

 

For example when some one run installer or run index.php an email send to me that contain the domain name.

 

Or some thing like this that I used for any php code.

 

so thanks

I want know which site use my script or theme.

 

We can :

 

1. put google analytic code in admin area so we will know .

 

2. use a image in admin area that load from a domain (e.g.:  aaaa.com/logo.jpg) and we can go to Cpanel and see "lasted visit" and see "referral site"

 

but I want to use a code that just one time send me domain and I know how many site used my php themes or scripts.

Just write a simple log-service, which will get the domain and/or IP as parameter from your script on the remote site. The log-server just logs each call into the database with the given domain and the current timestamp. Then you will have all infos you need.

 

Include a simple call to the log service on your server (e.g. http://yourserver/log?IP=123.34.45.56), that's all.

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.