Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Retreiving resource from PHP?

Status
Not open for further replies.

Prattaratt

Technical User
Aug 6, 2000
291
US
As a learning exercise, I am trying to develop a webpage server with Embarcedero's C++ Builder (XE2) using Indy components (10.5.8.3) I am now trying to integrate PHP into the server by using PHP-CGI running as a child process and piping the output to an output stream. So far so good for the most part. But I can't seem to get a handle on processing the following HTTP Request command, which is a GET for the php logo gif that is supposed to be displayed on the PHPINFO page:

test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42

any ideas on how to go about retrieving this resource and send it upstream?
 
Php expects query parameters in the GETarg to be in the key=value format. You don't seem to be supplying a key in the above URL.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top