Help! - IP Address Validation
Posted: Sat Jun 02, 2007 4:52 am
Hello everyone,
I have a problem which I hope somebody will be able to help me with. Here goes.
I am setting up a website for a car dealership and one of the functions of the application is to be able to perform a car registration plate search. The search will return every detail about that particular car, make - model - engine size etc.
I have opened an account with CarWebUK who run a database containing this data but am having some trouble integrating it with my site.
On my website I will have a form which contains one field for sending the registration number, along with various hidden fields which contain my account username - password etc. The result is an XML file containing details about the car.
The problem is that the service is restricted only to respond from my SERVER IP address. So when a client submits the form request from their PC obviously the system is not going to allow the information because it's going to appear to have come from their CLIENT IP not the SERVER.
If you visit the following URL you will see the resultant XML file produced from their system however you won't see car information but you will see that the 'ErrorDescription' tag says 'No more available user accounts', this is because the website wasn't requested from 217.64.112.76 (my SERVER IP).
really long link
The registration number variable in the above URL is 'strVRM', I have put in my registration number - y313ldk (this must contain no spaces).
Is there a way that this can be fixed, IE. by changing client headers to 217.64.112.76 or is it possible to create the following chain?
Client Loads Website - Submits Form To My Server - Server Sends Request To CarWebUK - CarWebUK Sends XML File - XML File is display on Client.
I appreciate this is going to either be really easy or something that is just not possible. All help would be greatly appreciated as I've been scratching my head over this one.
(by the way, CarWebUK won't change the IP address allowed, nor will they just allow any IP to use the service - that's whats making this so hard).
Best Regards,
Rob Foster.
I have a problem which I hope somebody will be able to help me with. Here goes.
I am setting up a website for a car dealership and one of the functions of the application is to be able to perform a car registration plate search. The search will return every detail about that particular car, make - model - engine size etc.
I have opened an account with CarWebUK who run a database containing this data but am having some trouble integrating it with my site.
On my website I will have a form which contains one field for sending the registration number, along with various hidden fields which contain my account username - password etc. The result is an XML file containing details about the car.
The problem is that the service is restricted only to respond from my SERVER IP address. So when a client submits the form request from their PC obviously the system is not going to allow the information because it's going to appear to have come from their CLIENT IP not the SERVER.
If you visit the following URL you will see the resultant XML file produced from their system however you won't see car information but you will see that the 'ErrorDescription' tag says 'No more available user accounts', this is because the website wasn't requested from 217.64.112.76 (my SERVER IP).
really long link
The registration number variable in the above URL is 'strVRM', I have put in my registration number - y313ldk (this must contain no spaces).
Is there a way that this can be fixed, IE. by changing client headers to 217.64.112.76 or is it possible to create the following chain?
Client Loads Website - Submits Form To My Server - Server Sends Request To CarWebUK - CarWebUK Sends XML File - XML File is display on Client.
I appreciate this is going to either be really easy or something that is just not possible. All help would be greatly appreciated as I've been scratching my head over this one.
(by the way, CarWebUK won't change the IP address allowed, nor will they just allow any IP to use the service - that's whats making this so hard).
Best Regards,
Rob Foster.