Php IP address redirect

legoben

New Member
Messages
3
Reaction score
0
Points
0
I want some of my secure pages to be secured by IP address.
I want each of the IP addresses to be stored on MySQL, which will have a page which writes to it adding new IP addresses.
The I want all pages within "/secure/" directory to redirect to an error page if invalid adress, or display page if valid.

Thanks for you help guys

Sorry if this is too confusing

Lego Ben
 

nirajkum

New Member
Messages
159
Reaction score
0
Points
0
.htaccess will do it for you .. you can deny IP address and allow IP adress .. but I am not sure are you talking of secure connection https ?
 

Chrisisrad

New Member
Messages
23
Reaction score
0
Points
0
While it would be easier for this person to use .htaccess they may not understand it.
Because im willing to guess this user wants to document all movement by any given IP.
Id suggest some class php files.

If i break any rules dont hate me! Im new! :dunno:

The files im showing are written by myself.
 

Attachments

  • ip_deny_allow.zip
    24.7 KB · Views: 24
Top