Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
requests to another server
Old 10-22-2009, 07:28 AM requests to another server
numbenator's Avatar
Webmaster Talker

Posts: 516
Location: London
Trades: 0
HI

Is it possible to send a request to another server within a php page but not leave the page that makes the request.

I want send a query string to another server that runs a programme to update a db. But i dont want to leave the page that sends the request.

cheers

Steve
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
 
Register now for full access!
Old 10-22-2009, 07:33 AM Re: requests to another server
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Yep

cURL
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-22-2009, 07:51 AM Re: requests to another server
numbenator's Avatar
Webmaster Talker

Posts: 516
Location: London
Trades: 0
actually sorry the question changes somewhat

The request returns a xml file which has infor init i want to retrieve.
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Old 10-22-2009, 08:01 AM Re: requests to another server
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
That's what php RSS reader do, or file_get_contents()
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-22-2009, 08:25 AM Re: requests to another server
numbenator's Avatar
Webmaster Talker

Posts: 516
Location: London
Trades: 0
Nice one:
file_get_contents() worked a treat

Thanks for your help
__________________

Please login or register to view this content. Registration is FREE
numbenator is offline
Reply With Quote
View Public Profile Visit numbenator's homepage!
 
Reply     « Reply to requests to another server
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.54368 seconds with 12 queries