PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Either insert a mail statement or connect to a remote db / file and insert the IP, host etc - just make sure you flag it - so that it doesnt keep notifying you where the php code is running each time the php script is executed !
Be aware some people may view any inbuilt notification as a "hack". If the contract specifies that the code belongs to them you have may have no "rights" to what they do with it or where they place it. Normally if you build a good working relationship you should be able to just ask them.
Place some mark somewhere - db, remote file or whereever - so that you not get notified each and every time the script gets executed.
You'll have to figure out on your own because this is really going behind someone's back.
But where i have to mark it. I thought that it should send me mail when admin is login. But each time admin is login,i will get an email. Then i thought creating a table with a field name and then setting it to 0 and when admin is login for the first time set it to one and send an email to me. Next time when admin is login it will check whether the db field is set to zero or not. Is this a good idea?