Post variable must come from list of this ips 34.87.0.133, 35.197.144.151, 34.92.62.181, 34.92.96.157 How can I check it before process to receive variable are there any function in php or I must set in apache my operating system is linux
deny from all
allow from 34.87.0.133
allow from 35.197.144.151
allow from 34.92.62.181
allow from 34.92.96.157
Running it in PHP is wasting CPU resources.
If it's ONLY serving those IP addresses, a firewall rule to allow only those IP's is sufficient.