ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
you need to explain what "capture" actually means... you need this information to actually be usable in some way? well there are many many ways to "capture" an ip address, some useful, most not i expect...
you need to explain what "capture" actually means... you need this information to actually be usable in some way? well there are many many ways to "capture" an ip address, some useful, most not i expect...
By capturing I mean , get the ip address of the client machine. This information, i.e.e the ip address will be used to restrict access to the oracle forms loaded on my application server. (my application server is on RH EL 4 AS 4).
yes i know what the dictionary definition of "capture" is... where do you want to use this information? is it with a PHP script? within a firewall??
i am sorry for having given the dictionary meaning.
i want to use the information to prevent access to a oracle form from a range of ip's or selected ip's. i have been given the solution to implement the restriction. the solution is as below.
The easiest most straight forward way would be to grab the http variable for REMOTE_IP, then do a switch in your code.
Here, i would like to know, where is the pseudo code and how to grab the http variable for REMOTE_IP.
to be more clear, if i restrict access from an ip for e.g 192.168.0.1 in hosts.deny/allow files, how does the OS check the ip of the client machine requesting access to implement the restriction.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.