I have wrote a php file for having cronjob in my server, but the problem is that every one can access to that.
I just want to give access to cronjob file , Just to server and nothing more.
How can i do this ?
Can we do it by getting user ip and server ip and if it was not server ip file gets die?
Is it good way?
Any better way?
将此文件放在根主文件夹或根有权访问该文件的每个位置
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.