I programmed codes using php and mysql and upload on a server. It is a success.?

edwinbiasbas

New member
What syntax will I'll use to protect the "display" to be browsed by IPAddress1 & not to be browsed by IPAddress?
Some display page are tend to be browsed by IPAddress1 and IPAddress2 but not a certain page that only IPAddress1 are allowable to access... Without editing the HTTP config.
 
Use a .htaccess file (assuming of course that your server runs apache)
.htaccess files are used by Apache in addition to the http config. It uses the same syntax and it's used to give uses some control over server configuration without modifying the main settings.

In the .htaccess you can set access permission rule using the same syntax to allow access from a limited number of IPs.
 
Back
Top