how to enquire a website and getting the result using PHP:?:

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
khashyar7
Forum Newbie
Posts: 1
Joined: Wed Apr 12, 2006 4:33 pm

how to enquire a website and getting the result using PHP:?:

Post by khashyar7 »

Hi,

I need to link a web page to a courier service page and without making the customer directly visit the courier page, enquire on his behalf and grab the result and display on the page he's currently on.

In more detail, the customer would enter his postal code on the page and I would need to enter that plus the other data (parcel size, dimensions, sender's data, etc) on the courier page, get the shipping cost and display it for him on the 1st page.

I have heard I should be using PHP for this purpose, but have no idea where to start.

Please help !

Thanks,

Kash
timvw
DevNet Master
Posts: 4897
Joined: Mon Jan 19, 2004 11:11 pm
Location: Leuven, Belgium

Post by timvw »

Basicaly you need something that performs a http request for you.
http://www.php.net/curl is such a tool that can perform the request.
Post Reply