Jump to content

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.

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.